summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabbedarea.h')
-rw-r--r--src/gui/widgets/tabbedarea.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h
index e27f879f7..40d3458e9 100644
--- a/src/gui/widgets/tabbedarea.h
+++ b/src/gui/widgets/tabbedarea.h
@@ -23,6 +23,8 @@
#ifndef TABBEDAREA_H
#define TABBEDAREA_H
+#include "gui/widgets/widget2.h"
+
#include <guichan/actionlistener.hpp>
#include <guichan/widget.hpp>
#include <guichan/widgetlistener.hpp>
@@ -37,7 +39,8 @@ class Tab;
/**
* A tabbed area, the same as the guichan tabbed area in 0.8, but extended
*/
-class TabbedArea final : public gcn::ActionListener,
+class TabbedArea final : public Widget2,
+ public gcn::ActionListener,
public gcn::BasicContainer,
public gcn::KeyListener,
public gcn::MouseListener,