summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/listbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/listbox.cpp')
-rw-r--r--src/guichan/widgets/listbox.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/guichan/widgets/listbox.cpp b/src/guichan/widgets/listbox.cpp
index 938d82721..5dd1509f5 100644
--- a/src/guichan/widgets/listbox.cpp
+++ b/src/guichan/widgets/listbox.cpp
@@ -66,7 +66,8 @@ namespace gcn
gcn::KeyListener(),
mSelected(-1),
mListModel(nullptr),
- mWrappingEnabled(false)
+ mWrappingEnabled(false),
+ mSelectionListeners()
{
setWidth(100);
setFocusable(true);
@@ -81,7 +82,8 @@ namespace gcn
gcn::KeyListener(),
mSelected(-1),
mListModel(listModel),
- mWrappingEnabled(false)
+ mWrappingEnabled(false),
+ mSelectionListeners()
{
setWidth(100);
adjustSize();