summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/tabbedarea.cpp5
-rw-r--r--src/gui/widgets/tabbedarea.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index b405e4bf..7a4d153a 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -155,3 +155,8 @@ void TabbedArea::removeTab(Tab *tab)
adjustSize();
adjustTabPositions();
}
+
+void TabbedArea::logic()
+{
+ logicChildren();
+}
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h
index f1f797ca..554a68b6 100644
--- a/src/gui/widgets/tabbedarea.h
+++ b/src/gui/widgets/tabbedarea.h
@@ -81,6 +81,11 @@ class TabbedArea : public gcn::TabbedArea
*/
void removeTab(Tab *tab);
+ /**
+ * Overload the logic function since it's broken in guichan 0.8
+ */
+ void logic();
+
private:
typedef std::vector< std::pair<gcn::Tab*, gcn::Widget*> > TabContainer;
};