summaryrefslogtreecommitdiff
path: root/src/gui/widgets/listbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/listbox.h')
-rw-r--r--src/gui/widgets/listbox.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h
index 61e1596f7..0c3a62609 100644
--- a/src/gui/widgets/listbox.h
+++ b/src/gui/widgets/listbox.h
@@ -33,13 +33,10 @@
class Skin;
class KeyEvent;
+class ListModel;
class MouseEvent;
class Widget2;
-namespace gcn
-{
- class ListModel;
-}
/**
* A list box, meant to be used inside a scroll area. Same as the Guichan list
* box except this one doesn't have a background, instead completely relying
@@ -54,7 +51,7 @@ class ListBox : public gcn::ListBox
* Constructor.
*/
ListBox(const Widget2 *const widget,
- gcn::ListModel *const listModel,
+ ListModel *const listModel,
const std::string &skin);
A_DELETE_COPY(ListBox)