From df5cd98862d5328c6765b992a3a6e1b3458a1d8a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2012 18:28:37 +0300 Subject: Derive all widgets from Widget2 class. --- src/gui/widgets/tab.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/tab.h') 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 #include #include @@ -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 { -- cgit v1.2.3-60-g2f50