diff options
Diffstat (limited to 'src/gui/sell.h')
-rw-r--r-- | src/gui/sell.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/gui/sell.h b/src/gui/sell.h index d5c70c45..c56337ef 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" @@ -42,8 +41,7 @@ class ShopListBox; * * \ingroup Interface */ -class SellDialog : public Window, gcn::ActionListener, SelectionListener, - WindowListener +class SellDialog : public Window, gcn::ActionListener, gcn::SelectionListener { public: /** @@ -78,12 +76,12 @@ class SellDialog : public Window, gcn::ActionListener, SelectionListener, * * @see SelectionListener::selectionChanged */ - void selectionChanged(const SelectionEvent &event); + void valueChanged(const gcn::SelectionEvent &event); /** - * Called whenever the window is resized. + * Called whenever the widget changes size. */ - void windowResized(const WindowEvent &event); + void widgetResized(const gcn::Event &event); /** * Gives Player's Money amount |