Talking about an app built against wxWidgets 3.1.0 (but same w/ 3.0.2) under OS X 10.9, all tooltips about controls in the pages of a notebook (wxNotebook, not wxAuiNotebook) are ignored. Observed in OS X 10.9 and macOS 10.12. So, a matter of events flow for sure, but I don't succeed to figure out a simple way to solve this... Or, rather, the only one "solution" I found sounds more like a "hack"...
The UI tree (reduced for test) is this one below (of course, I don't mention the sizers):
Code: Select all
frame
panel
notebook
page (panel w/ notebook as parent)
control_with_tooltip (w/ page as parent)
Anyway, if I ignore the assert, it seems to work (pages are well inserted and initialized), but not sure about pernicious side-effects..."pPage->GetParent() == this" failed in InsertPage(): notebook pages must have notebook as parent
What do you think? What's the regular way to ensure tooltips inside wxNotebook's page?
It works under Windows and worked in an old version of this app under OS X 10.8 built against wxWidgets 2.9 (don't know if the reason of the regression came from OS X or wxWidgets since my current app requires OS X 10.9+).