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
This commit is contained in:
Vadim Zeitlin
2011-10-02 11:28:54 +00:00
parent 2039dd917c
commit 84ba6659ad
2 changed files with 30 additions and 6 deletions

View File

@@ -472,6 +472,7 @@ All (GUI):
- Added wxPersistentSplitter.
- Added wxWebView library (Steven Lamerton & Auria, GSoC 2011 project).
- Derive wxAuiNotebook from wxBookCtrlBase (Steven Lamerton)
- Fix tooltips in wxSearchCtrl and other composite controls (Catalin Raceanu).
OSX: