From c81c6d5400f732e89d41a7a3ab0eb824761ac52c Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Tue, 1 Mar 2005 10:33:51 +0000 Subject: [PATCH] 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 --- src/mac/carbon/toplevel.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 ) ) ; } -- 2.50.0