summaryrefslogtreecommitdiff
path: root/src/gui/widgets/container.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-02 20:06:58 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-02 20:06:58 +0300
commit45a9bbd34cda3c784b935860a4cc616a0314a57c (patch)
treee4cee8daa007c727e3ce4511e24aebbbcc6bc9d8 /src/gui/widgets/container.h
parent506bf9c3bd1ddeb70529876148140c6f7c91acf2 (diff)
downloadmv-45a9bbd34cda3c784b935860a4cc616a0314a57c.tar.gz
mv-45a9bbd34cda3c784b935860a4cc616a0314a57c.tar.bz2
mv-45a9bbd34cda3c784b935860a4cc616a0314a57c.tar.xz
mv-45a9bbd34cda3c784b935860a4cc616a0314a57c.zip
Replace guichan iterators to const_iterator if need.
Diffstat (limited to 'src/gui/widgets/container.h')
-rw-r--r--src/gui/widgets/container.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/container.h b/src/gui/widgets/container.h
index 1d8872477..c011b8925 100644
--- a/src/gui/widgets/container.h
+++ b/src/gui/widgets/container.h
@@ -26,6 +26,10 @@
#include <guichan/widget.hpp>
#include <guichan/widgets/container.hpp>
+#if !defined USE_INTERNALGUICHAN
+typedef std::list<gcn::Widget *>::const_iterator WidgetListConstIterator;
+#endif
+
/**
* A widget container.
*