summaryrefslogtreecommitdiff
path: root/src/gui/buy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buy.h')
-rw-r--r--src/gui/buy.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/buy.h b/src/gui/buy.h
index 4e129611..ec7419be 100644
--- a/src/gui/buy.h
+++ b/src/gui/buy.h
@@ -25,9 +25,9 @@
#define _TMW_BUY_H
#include <guichan/actionlistener.hpp>
+#include <guichan/selectionlistener.hpp>
#include "window.h"
-#include "selectionlistener.h"
#include "../guichanfwd.h"
@@ -40,7 +40,8 @@ class ListBox;
*
* \ingroup Interface
*/
-class BuyDialog : public Window, public gcn::ActionListener, SelectionListener
+class BuyDialog : public Window, public gcn::ActionListener,
+ gcn::SelectionListener
{
public:
/**
@@ -82,10 +83,8 @@ class BuyDialog : public Window, public gcn::ActionListener, SelectionListener
/**
* Updates the labels according to the selected item.
- *
- * @see SelectionListener::selectionChanged
*/
- void selectionChanged(const SelectionEvent &event);
+ void valueChanged(const gcn::SelectionEvent &event);
/**
* Returns the name of item number i in the shop inventory.