summaryrefslogtreecommitdiff
path: root/src/gui/widgets/vertcontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/vertcontainer.h')
-rw-r--r--src/gui/widgets/vertcontainer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/vertcontainer.h b/src/gui/widgets/vertcontainer.h
index 268c61d4f..cccd772b8 100644
--- a/src/gui/widgets/vertcontainer.h
+++ b/src/gui/widgets/vertcontainer.h
@@ -26,6 +26,8 @@
#include <guichan/widgetlistener.hpp>
+#include <vector>
+
#ifdef __GNUC__
#define _UNUSED_ __attribute__ ((unused))
#else
@@ -53,7 +55,7 @@ class VertContainer : public Container, public gcn::WidgetListener
void widgetResized(const gcn::Event &event);
private:
- std::list<gcn::Widget*> mResizableWidgets;
+ std::vector<gcn::Widget*> mResizableWidgets;
int mVerticalItemSize;
int mCount;
int mNextY;