diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-11 00:03:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-11 00:51:29 +0300 |
commit | 05c3c78e18253d2a9faaebea16ee4ff0474db446 (patch) | |
tree | c043bcc95a2fa917cb4aedf0adb04d33e039a694 /src/gui/widgets/tabbedarea.h | |
parent | bb4b31241a30c16eba2506fff89b4057e4a7c6ee (diff) | |
download | manaplus-05c3c78e18253d2a9faaebea16ee4ff0474db446.tar.gz manaplus-05c3c78e18253d2a9faaebea16ee4ff0474db446.tar.bz2 manaplus-05c3c78e18253d2a9faaebea16ee4ff0474db446.tar.xz manaplus-05c3c78e18253d2a9faaebea16ee4ff0474db446.zip |
Fix compliation under gcc 4.7 snapshot.
Diffstat (limited to 'src/gui/widgets/tabbedarea.h')
-rw-r--r-- | src/gui/widgets/tabbedarea.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h index 8e349a4b4..b202dfc9d 100644 --- a/src/gui/widgets/tabbedarea.h +++ b/src/gui/widgets/tabbedarea.h @@ -78,8 +78,6 @@ class TabbedArea : public gcn::TabbedArea, public gcn::WidgetListener */ gcn::Widget *getCurrentWidget(); - using gcn::TabbedArea::addTab; - /** * Add a tab. Overridden since it needs to size the widget. * @@ -112,11 +110,11 @@ class TabbedArea : public gcn::TabbedArea, public gcn::WidgetListener int getContainerHeight() const { return mWidgetContainer->getHeight(); } - using gcn::TabbedArea::setSelectedTab; - void setSelectedTab(gcn::Tab *tab); - void setSelectedTab(const std::string &name); + void setSelectedTabByPos(int tab); + + void setSelectedTabByName(const std::string &name); void widgetResized(const gcn::Event &event); |