]> git.saurik.com Git - wxWidgets.git/commit
Don't recurse into top level children in wxWindow::FindWindow().
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Aug 2013 22:49:48 +0000 (22:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Aug 2013 22:49:48 +0000 (22:49 +0000)
commitef3ea7e50cb6f0706651c24047f96a25edb9b521
treee7ef08b03cc25421a434ba0bab3c4c314cd582d8
parentda0a2aca6b2668b4bd5b69b0ee589bce155ee861
Don't recurse into top level children in wxWindow::FindWindow().

Finding a button in a child dialog when looking for it in the current window
is totally unexpected and can result in subtle bugs, see #15442.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/wincmn.cpp