diff options
author | Sebastian Geerken <devnull@localhost> | 2013-01-06 12:02:29 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-01-06 12:02:29 +0100 |
commit | b9222b1aa44b4c69778445bbaea324a5712cea0a (patch) | |
tree | 823224ce8ed13aec165df5dc8a0c1c73110249d7 /dw/iterator.hh | |
parent | cc89e1ccf89b1d684d7615a4ea8e526b7345cd38 (diff) |
Make DeepIterator able to follow widget references; activated this for findtext.
Diffstat (limited to 'dw/iterator.hh')
-rw-r--r-- | dw/iterator.hh | 4 |
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); |