]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tipwin.cpp
Disable wxUSE_ENH_METAFILE for wxGTK builds.
[wxWidgets.git] / src / generic / tipwin.cpp
index b50fb47a9647790dc36e8a521bb159da1e5943fc..ede0ae3913d9ab9bdfb4652fcd18fd917c651000 100644 (file)
@@ -226,7 +226,11 @@ void wxTipWindow::Close()
         if ( m_view->HasCapture() )
             m_view->ReleaseMouse();
     #endif
-    Destroy();
+    // Under OS X we get destroyed because of wxEVT_KILL_FOCUS generated by
+    // Show(false).
+    #ifndef __WXOSX__
+        Destroy();
+    #endif
 #else
     wxFrame::Close();
 #endif