summaryrefslogtreecommitdiff
path: root/src/guichan/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/include')
-rw-r--r--src/guichan/include/guichan/widget.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/guichan/include/guichan/widget.hpp b/src/guichan/include/guichan/widget.hpp
index 0f8c803ca..ccb56ea70 100644
--- a/src/guichan/include/guichan/widget.hpp
+++ b/src/guichan/include/guichan/widget.hpp
@@ -45,6 +45,7 @@
#define GCN_WIDGET_HPP
#include <list>
+#include <set>
#include <string>
#include "guichan/color.hpp"
@@ -1196,6 +1197,8 @@ namespace gcn
* Holds a list of all instances of widgets.
*/
static std::list<Widget*> mWidgets;
+
+ static std::set<Widget*> mWidgetsSet;
};
}