summaryrefslogtreecommitdiff
path: root/dw/iterator.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-10-25 13:58:18 +0200
committerSebastian Geerken <devnull@localhost>2014-10-25 13:58:18 +0200
commitb93f16f2d770309eb49d9a3275a42e294a164f1a (patch)
tree9ca970199824b59bcb1aeea2bbd9cf75f1ff9bd8 /dw/iterator.cc
parentdcf6e00e9b790e0868d8863f140567eef5e540c1 (diff)
Fixed problems with getWidgetAtPoint.
Diffstat (limited to 'dw/iterator.cc')
-rw-r--r--dw/iterator.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/dw/iterator.cc b/dw/iterator.cc
index 92a028d0..fccd4c1a 100644
--- a/dw/iterator.cc
+++ b/dw/iterator.cc
@@ -955,5 +955,11 @@ void StackingIteratorStack::backward ()
topPos--;
}
+void StackingIteratorStack::cleanup ()
+{
+ while (!atRealTop ())
+ vector->remove (vector->size () - 1);
+}
+
} // namespace core
} // namespace dw