summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-19 18:28:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:42 +0300
commitdf5cd98862d5328c6765b992a3a6e1b3458a1d8a (patch)
tree281949dceabbc4894474f4f5c6cb398f3dd15998 /src/gui/widgets/window.h
parent2bf115745f111215b651b87288eb9d15ceb333be (diff)
downloadplus-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/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:
/**