]> git.saurik.com Git - wxWidgets.git/commitdiff
compile w/o tooltips
authorRyan Norton <wxprojects@comcast.net>
Tue, 1 Mar 2005 09:54:25 +0000 (09:54 +0000)
committerRyan Norton <wxprojects@comcast.net>
Tue, 1 Mar 2005 09:54:25 +0000 (09:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/app.cpp

index 1472ca610c57deb292d94fc8c4ab70d26ff73794..adb56a068c460df6591d9e5336cfefed848e385b 100644 (file)
@@ -717,7 +717,9 @@ bool wxApp::OnInitGui()
 
 void wxApp::CleanUp()
 {
+#if wxUSE_TOOLTIPS
     wxToolTip::RemoveToolTips() ;
+#endif
 
     // One last chance for pending objects to be cleaned up
     wxTheApp->DeletePendingObjects();