From 6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 5 Sep 2012 21:48:30 +0300 Subject: Improve constructors in some classes. --- src/guichan/widgets/tabbedarea.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/guichan/widgets/tabbedarea.cpp') diff --git a/src/guichan/widgets/tabbedarea.cpp b/src/guichan/widgets/tabbedarea.cpp index 7bd77e7cd..35d401426 100644 --- a/src/guichan/widgets/tabbedarea.cpp +++ b/src/guichan/widgets/tabbedarea.cpp @@ -63,16 +63,20 @@ namespace gcn { TabbedArea::TabbedArea() : + ActionListener(), + BasicContainer(), + KeyListener(), + MouseListener(), mSelectedTab(nullptr), + mTabContainer(new Container()), + mWidgetContainer(new Container()), mOpaque(false) { setFocusable(true); addKeyListener(this); addMouseListener(this); - mTabContainer = new Container(); mTabContainer->setOpaque(false); - mWidgetContainer = new Container(); add(mTabContainer); add(mWidgetContainer); -- cgit v1.2.3-70-g09d2