diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-19 18:28:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:42 +0300 |
commit | df5cd98862d5328c6765b992a3a6e1b3458a1d8a (patch) | |
tree | 281949dceabbc4894474f4f5c6cb398f3dd15998 /src/gui/widgets/button.h | |
parent | 2bf115745f111215b651b87288eb9d15ceb333be (diff) | |
download | plus-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.gz plus-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.bz2 plus-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.xz plus-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.zip |
Derive all widgets from Widget2 class.
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r-- | src/gui/widgets/button.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h index fbcc941ed..3519a5fc7 100644 --- a/src/gui/widgets/button.h +++ b/src/gui/widgets/button.h @@ -23,6 +23,8 @@ #ifndef BUTTON_H #define BUTTON_H +#include "gui/widgets/widget2.h" + #include <guichan/widgets/button.hpp> #include <guichan/mouseevent.hpp> #include <guichan/widgetlistener.hpp> @@ -42,7 +44,9 @@ const std::string BUTTON_PLAY = "buttonplay.png"; * * \ingroup GUI */ -class Button final : public gcn::Button, public gcn::WidgetListener +class Button final : public gcn::Button, + public Widget2, + public gcn::WidgetListener { public: /** |