X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8207702d1cf580a7200114abd52f186b4b9a4f3..ff1e36afc063262750da38ca866784645be13520:/src/osx/cocoa/tooltip.mm diff --git a/src/osx/cocoa/tooltip.mm b/src/osx/cocoa/tooltip.mm index 16ecda0f5b..d0b73a59ce 100644 --- a/src/osx/cocoa/tooltip.mm +++ b/src/osx/cocoa/tooltip.mm @@ -47,6 +47,8 @@ wxToolTip::~wxToolTip() void wxToolTip::SetTip( const wxString &tip ) { m_text = tip; + if (m_window) + m_window->SetToolTip(this); } void wxToolTip::SetWindow( wxWindow *win )