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:
@@ -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
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user