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.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/guichan/widgets/listbox.cpp b/src/guichan/widgets/listbox.cpp
index 42f2d8d8b..2a20a792e 100644
--- a/src/guichan/widgets/listbox.cpp
+++ b/src/guichan/widgets/listbox.cpp
@@ -61,9 +61,9 @@
namespace gcn
{
ListBox::ListBox() :
- Widget(),
- MouseListener(),
- KeyListener(),
+ gcn::Widget(),
+ gcn::MouseListener(),
+ gcn::KeyListener(),
mSelected(-1),
mListModel(nullptr),
mWrappingEnabled(false)
@@ -76,9 +76,9 @@ namespace gcn
}
ListBox::ListBox(ListModel *listModel) :
- Widget(),
- MouseListener(),
- KeyListener(),
+ gcn::Widget(),
+ gcn::MouseListener(),
+ gcn::KeyListener(),
mSelected(-1),
mListModel(listModel),
mWrappingEnabled(false)
@@ -191,7 +191,7 @@ namespace gcn
{
mWrappingEnabled = wrappingEnabled;
}
-
+
void ListBox::addSelectionListener(SelectionListener* selectionListener)
{
mSelectionListeners.push_back(selectionListener);