From: Ryan Norton Date: Tue, 1 Mar 2005 10:33:51 +0000 (+0000) Subject: wxUSE_TOOLTIPS fix (good grief I think I just did this a couple days ago...) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c81c6d5400f732e89d41a7a3ab0eb824761ac52c wxUSE_TOOLTIPS fix (good grief I think I just did this a couple days ago...) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 0b7780598c..3c6fa41f2c 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -912,7 +912,9 @@ wxTopLevelWindowMac::~wxTopLevelWindowMac() { if ( m_macWindow ) { +#if wxUSE_TOOLTIPS wxToolTip::NotifyWindowDelete(m_macWindow) ; +#endif wxPendingDelete.Append( new wxMacDeferredWindowDeleter( (WindowRef) m_macWindow ) ) ; }