summaryrefslogtreecommitdiff
path: root/src/guichan/basiccontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/basiccontainer.cpp')
-rw-r--r--src/guichan/basiccontainer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guichan/basiccontainer.cpp b/src/guichan/basiccontainer.cpp
index aa804f88b..d51968eb6 100644
--- a/src/guichan/basiccontainer.cpp
+++ b/src/guichan/basiccontainer.cpp
@@ -88,7 +88,8 @@ namespace gcn
throw GCN_EXCEPTION("There is no such widget in this container.");
mWidgets.erase(iter);
- mWidgets.push_front(widget);
+ mWidgets.insert(mWidgets.begin(), widget);
+// mWidgets.push_front(widget);
}
void BasicContainer::death(const Event& event)