Fix setting tooltips for wxSearchCtrl and other composite controls.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Oct 2011 11:28:54 +0000 (11:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Oct 2011 11:28:54 +0000 (11:28 +0000)
commit84ba6659ad49a0000f79e5bfcaaa871675d6c8f8
tree4d1e54fd8d13480f10f3e6fd88e772404c6a2a9c
parent2039dd917c2aaaed6ddd4bd904b31a648c96fb10
Fix setting tooltips for wxSearchCtrl and other composite controls.

Propagate SetToolTip() call on wxCompositeWindow to all subwindows to ensure
that the tooltip is shown for all parts of the window.

Notice that this is still not ideal as the tooltip temporarily disappears when
mouse moves from one subwindow to another, instead of staying in place as it
does with "monolithic" windows and ideally we should find a way to avoid it
(should be possible at least under MSW with TTM_RELAYEVENT) but for now this
is already much better than nothing.

Closes #13523.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/compositewin.h