summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
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),