Compilation fix for wxMSW with wxUSE_TOOLTIPS==0.

This is another fix after the changes of r76657, see #16265.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-06-05 11:29:34 +00:00
parent d8933b2b8d
commit be35fb7a15

View File

@@ -719,8 +719,10 @@ void wxTopLevelWindowMSW::DoShowWindow(int nShowCmd)
m_iconized = nShowCmd == SW_MINIMIZE;
}
#if wxUSE_TOOLTIPS
// Don't leave a tooltip hanging around if TLW is hidden now.
wxToolTip::UpdateVisibility();
#endif // wxUSE_TOOLTIPS
}
void wxTopLevelWindowMSW::ShowWithoutActivating()