X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/173e8bbfb381073b502b74a89e8e666a7b293b9d..88c49a0f21dab4f2047b2dc8f77abdcce46e012b:/src/generic/tipwin.cpp 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 } // ----------------------------------------------------------------------------