summaryrefslogtreecommitdiff
path: root/src/gui/base/widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/base/widget.cpp')
-rw-r--r--src/gui/base/widget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/base/widget.cpp b/src/gui/base/widget.cpp
index 9e2912d39..f5994d1af 100644
--- a/src/gui/base/widget.cpp
+++ b/src/gui/base/widget.cpp
@@ -94,7 +94,8 @@ namespace gcn
std::list<Widget*> Widget::mWidgets;
std::set<Widget*> Widget::mWidgetsSet;
- Widget::Widget() :
+ Widget::Widget(const Widget2 *const widget) :
+ Widget2(widget),
mMouseListeners(),
mKeyListeners(),
mActionListeners(),