summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 00a72660e..e758a4d99 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -26,6 +26,8 @@
#include "graphics.h"
#include "localconsts.h"
+#include "gui/widgets/widget2.h"
+
#include <guichan/widgetlistener.hpp>
#include <guichan/widgets/window.hpp>
@@ -44,7 +46,9 @@ class WindowContainer;
*
* \ingroup GUI
*/
-class Window : public gcn::Window, private gcn::WidgetListener
+class Window : public gcn::Window,
+ public Widget2,
+ private gcn::WidgetListener
{
public:
/**