summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-09 02:07:50 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-09 02:07:50 +0300
commit0cec4fa69c575f69015f37686f1e010d09f2ec48 (patch)
tree3ee7de7a6e19f3bc952bd9da5d4aaf274a37795d /src/gui/widgets
parenta85d7ad79ce803adc3469a618bfd8dfe188f2cbf (diff)
downloadmanaverse-0cec4fa69c575f69015f37686f1e010d09f2ec48.tar.gz
manaverse-0cec4fa69c575f69015f37686f1e010d09f2ec48.tar.bz2
manaverse-0cec4fa69c575f69015f37686f1e010d09f2ec48.tar.xz
manaverse-0cec4fa69c575f69015f37686f1e010d09f2ec48.zip
fix code style.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/button.cpp1
-rw-r--r--src/gui/widgets/guitable.cpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp
index 5d0a36f32..614ec7313 100644
--- a/src/gui/widgets/button.cpp
+++ b/src/gui/widgets/button.cpp
@@ -117,6 +117,7 @@ Button::Button(const std::string &caption, const std::string &imageName,
const std::string &actionEventId,
gcn::ActionListener *const listener) :
gcn::Button(caption),
+ WidgetListener(),
mDescription(""),
mClickCount(0),
mTag(0),
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp
index dc158b95f..088b72db3 100644
--- a/src/gui/widgets/guitable.cpp
+++ b/src/gui/widgets/guitable.cpp
@@ -91,6 +91,9 @@ void GuiTableActionListener::action(const gcn::ActionEvent
GuiTable::GuiTable(TableModel *const initial_model, const bool opacity) :
+ gcn::Widget(),
+ gcn::MouseListener(),
+ gcn::KeyListener(),
mLinewiseMode(false),
mWrappingEnabled(false),
mOpaque(opacity),