summaryrefslogtreecommitdiff
path: root/src/gui/sell.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sell.h')
-rw-r--r--src/gui/sell.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/sell.h b/src/gui/sell.h
index cde862d5..63a16770 100644
--- a/src/gui/sell.h
+++ b/src/gui/sell.h
@@ -25,10 +25,9 @@
#define _TMW_SELL_H
#include <guichan/actionlistener.hpp>
+#include <guichan/selectionlistener.hpp>
#include "window.h"
-#include "selectionlistener.h"
-#include "windowlistener.h"
#include "../guichanfwd.h"
@@ -41,7 +40,7 @@ class ShopListBox;
*
* \ingroup Interface
*/
-class SellDialog : public Window, gcn::ActionListener, SelectionListener
+class SellDialog : public Window, gcn::ActionListener, gcn::SelectionListener
{
public:
/**
@@ -76,7 +75,7 @@ class SellDialog : public Window, gcn::ActionListener, SelectionListener
*
* @see SelectionListener::selectionChanged
*/
- void selectionChanged(const SelectionEvent &event);
+ void valueChanged(const gcn::SelectionEvent &event);
/**
* Gives Player's Money amount