From: Julian Smart Date: Thu, 22 Mar 2001 11:17:25 +0000 (+0000) Subject: Fix for tip disappearing immediately under MSW X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9c0b55475a7eef00cfd65834a2456e3e8919ac38 Fix for tip disappearing immediately under MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/tipwin.cpp b/src/generic/tipwin.cpp index f712aed83f..570d632273 100644 --- a/src/generic/tipwin.cpp +++ b/src/generic/tipwin.cpp @@ -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 } // ----------------------------------------------------------------------------