]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tipwin.cpp
added xpmdecod.cpp
[wxWidgets.git] / src / generic / tipwin.cpp
index f712aed83f07e4a0ae244c84c305fe8e6d6cd035..570d632273eddb80e976f623ea613cf3cfd2e293 100644 (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
 }
 
 // ----------------------------------------------------------------------------