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/textbox.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/guichan/widgets/textbox.cpp') diff --git a/src/guichan/widgets/textbox.cpp b/src/guichan/widgets/textbox.cpp index 0640b6a2c..ad5338069 100644 --- a/src/guichan/widgets/textbox.cpp +++ b/src/guichan/widgets/textbox.cpp @@ -59,6 +59,9 @@ namespace gcn { TextBox::TextBox() : + Widget(), + MouseListener(), + KeyListener(), mCaretColumn(0), mCaretRow(0), mEditable(true), @@ -73,6 +76,9 @@ namespace gcn } TextBox::TextBox(const std::string& text) : + Widget(), + MouseListener(), + KeyListener(), mCaretColumn(0), mCaretRow(0), mEditable(true), -- cgit v1.2.3-60-g2f50