Fix for tip disappearing immediately under MSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-03-22 11:17:25 +00:00
parent 7172b423aa
commit 9c0b55475a

View File

@@ -140,7 +140,12 @@ void wxTipWindow::OnActivate(wxActivateEvent& event)
void wxTipWindow::OnKillFocus(wxFocusEvent& event)
{
// Under Windows at least, we will get this immediately
// because when the view window is focussed, the
// tip window goes out of focus.
#ifdef __WXGTK__
Close();
#endif
}
// ----------------------------------------------------------------------------