summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r--src/gui/widgets/tabbedarea.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index 721e0b653..5044d2758 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -68,7 +68,10 @@ TabbedArea::TabbedArea(const Widget2 *const widget) :
mArrowButton[0] = new Button(this, "<", "shift_left", this);
mArrowButton[1] = new Button(this, ">", "shift_right", this);
+}
+void TabbedArea::postInit()
+{
widgetResized(gcn::Event(nullptr));
}
@@ -77,6 +80,7 @@ TabbedArea::~TabbedArea()
if (gui)
gui->removeDragged(this);
+ // +++ virtual method calls
remove(mTabContainer);
remove(mWidgetContainer);