summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tab.h')
-rw-r--r--src/gui/widgets/tab.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/tab.h b/src/gui/widgets/tab.h
index fe9fd3b32..9aca4f4dc 100644
--- a/src/gui/widgets/tab.h
+++ b/src/gui/widgets/tab.h
@@ -23,6 +23,8 @@
#ifndef TAB_H
#define TAB_H
+#include "gui/widgets/widget2.h"
+
#include <guichan/basiccontainer.hpp>
#include <guichan/mouselistener.hpp>
#include <guichan/widgetlistener.hpp>
@@ -37,10 +39,10 @@ class TabbedArea;
class Theme;
/**
- * A tab, the same as the Guichan tab in 0.8, but extended to allow
- * transparency.
+ * A tab, the same as the Guichan tab in 0.8, but extended
*/
class Tab : public gcn::BasicContainer,
+ public Widget2,
public gcn::MouseListener,
public gcn::WidgetListener
{