diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-05 21:48:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-05 21:48:30 +0300 |
commit | 6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed (patch) | |
tree | 79a54d4c838c85df29b1b95702b71a95c43ceb5a /src/guichan/widgets/tabbedarea.cpp | |
parent | d1bb1b375d657f0821ccfebf18fa1c3873314690 (diff) | |
download | manaverse-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.tar.gz manaverse-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.tar.bz2 manaverse-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.tar.xz manaverse-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.zip |
Improve constructors in some classes.
Diffstat (limited to 'src/guichan/widgets/tabbedarea.cpp')
-rw-r--r-- | src/guichan/widgets/tabbedarea.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
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); |