X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b183b5785003338bb6247fe41fc66d6243aff2..6f026b5b63fe7ccb025e84509886f74772b9df13:/src/generic/tipwin.cpp diff --git a/src/generic/tipwin.cpp b/src/generic/tipwin.cpp index b50fb47a96..7ab7e77ee0 100644 --- a/src/generic/tipwin.cpp +++ b/src/generic/tipwin.cpp @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 10.09.00 -// RCS-ID: $Id$ // Copyright: (c) 2000 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -226,7 +225,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