summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r--src/gui/widgets/button.h6
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:
/**