From 9c0b55475a7eef00cfd65834a2456e3e8919ac38 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 22 Mar 2001 11:17:25 +0000 Subject: [PATCH] Fix for tip disappearing immediately under MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/tipwin.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 } // ---------------------------------------------------------------------------- -- 2.45.2