summaryrefslogtreecommitdiff
path: root/src/gui/base/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/base/widgets')
-rw-r--r--src/gui/base/widgets/listbox.cpp2
-rw-r--r--src/gui/base/widgets/listbox.hpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/base/widgets/listbox.cpp b/src/gui/base/widgets/listbox.cpp
index 02d94626c..765878834 100644
--- a/src/gui/base/widgets/listbox.cpp
+++ b/src/gui/base/widgets/listbox.cpp
@@ -69,6 +69,8 @@
#include "gui/font.h"
+#include "gui/base/listmodel.hpp"
+
#include "listeners/selectionlistener.h"
#include "debug.h"
diff --git a/src/gui/base/widgets/listbox.hpp b/src/gui/base/widgets/listbox.hpp
index ff2df395c..c46aca6ae 100644
--- a/src/gui/base/widgets/listbox.hpp
+++ b/src/gui/base/widgets/listbox.hpp
@@ -66,7 +66,6 @@
#include <list>
-#include "gui/base/listmodel.hpp"
#include "gui/base/widget.hpp"
#include "listeners/keylistener.h"
@@ -76,6 +75,8 @@ class SelectionListener;
namespace gcn
{
+ class ListModel;
+
/**
* An implementation of a list box where an item can be selected.
*