aboutsummaryrefslogtreecommitdiff
path: root/dw/iterator.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-01-06 12:02:29 +0100
committerSebastian Geerken <devnull@localhost>2013-01-06 12:02:29 +0100
commitb9222b1aa44b4c69778445bbaea324a5712cea0a (patch)
tree823224ce8ed13aec165df5dc8a0c1c73110249d7 /dw/iterator.hh
parentcc89e1ccf89b1d684d7615a4ea8e526b7345cd38 (diff)
Make DeepIterator able to follow widget references; activated this for findtext.
Diffstat (limited to 'dw/iterator.hh')
-rw-r--r--dw/iterator.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dw/iterator.hh b/dw/iterator.hh
index 3b2fa6c2..9d284fed 100644
--- a/dw/iterator.hh
+++ b/dw/iterator.hh
@@ -169,6 +169,10 @@ private:
bool hasContents;
inline DeepIterator () { }
+ static Widget *getRespectiveParent (Widget *widget, Content::Type mask);
+ inline Widget *getRespectiveParent (Widget *widget) {
+ return getRespectiveParent (widget, mask);
+ }
public:
DeepIterator(Iterator *it);