]> git.saurik.com Git - wxWidgets.git/commitdiff
wxUSE_TOOLTIPS fix (good grief I think I just did this a couple days ago...)
authorRyan Norton <wxprojects@comcast.net>
Tue, 1 Mar 2005 10:33:51 +0000 (10:33 +0000)
committerRyan Norton <wxprojects@comcast.net>
Tue, 1 Mar 2005 10:33:51 +0000 (10:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toplevel.cpp

index 0b7780598c098a77b7c4f821830785a159bdfead..3c6fa41f2c33180c8730567dd88dc25f92b9497e 100644 (file)
@@ -912,7 +912,9 @@ wxTopLevelWindowMac::~wxTopLevelWindowMac()
 {
     if ( m_macWindow )
     {
+#if wxUSE_TOOLTIPS
         wxToolTip::NotifyWindowDelete(m_macWindow) ;
+#endif
         wxPendingDelete.Append( new wxMacDeferredWindowDeleter( (WindowRef) m_macWindow ) ) ;
     }