summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-16 00:12:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-16 00:12:40 +0300
commit9093f12ebbfbdacb3df7a5f5fcdda422daa22754 (patch)
treeca12da26dad550f515ca1e56e1288a92741e6c7f /src/gui/widgets/tabs
parent768523601ff80a23bf3e821484cc116c62498a38 (diff)
downloadplus-9093f12ebbfbdacb3df7a5f5fcdda422daa22754.tar.gz
plus-9093f12ebbfbdacb3df7a5f5fcdda422daa22754.tar.bz2
plus-9093f12ebbfbdacb3df7a5f5fcdda422daa22754.tar.xz
plus-9093f12ebbfbdacb3df7a5f5fcdda422daa22754.zip
move mouselistener from base into listeners.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/tab.cpp2
-rw-r--r--src/gui/widgets/tabs/tab.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp
index bba1ef7b6..877329cf8 100644
--- a/src/gui/widgets/tabs/tab.cpp
+++ b/src/gui/widgets/tabs/tab.cpp
@@ -46,7 +46,7 @@ Skin *Tab::tabImg[Tab::TAB_COUNT];
Tab::Tab(const Widget2 *const widget) :
gcn::BasicContainer(),
Widget2(widget),
- gcn::MouseListener(),
+ MouseListener(),
gcn::WidgetListener(),
mLabel(new Label(this)),
mTabbedArea(nullptr),
diff --git a/src/gui/widgets/tabs/tab.h b/src/gui/widgets/tabs/tab.h
index 66f7521d9..a67025842 100644
--- a/src/gui/widgets/tabs/tab.h
+++ b/src/gui/widgets/tabs/tab.h
@@ -26,7 +26,8 @@
#include "gui/widgets/widget2.h"
#include "gui/base/basiccontainer.hpp"
-#include "gui/base/mouselistener.hpp"
+
+#include "listeners/mouselistener.h"
#include "gui/base/widgetlistener.hpp"
#include "localconsts.h"
@@ -41,7 +42,7 @@ class TabbedArea;
*/
class Tab : public gcn::BasicContainer,
public Widget2,
- public gcn::MouseListener,
+ public MouseListener,
public gcn::WidgetListener
{
public: