]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/window.cpp
Better wxFile support, warning fixes and minor source cleaning.
[wxWidgets.git] / src / mac / carbon / window.cpp
index 32633ad95db0915b6b892f21301d70b7c2504da4..ae454e6a56c5c75274cac80bda91cc8ce41f1cfe 100644 (file)
@@ -2676,10 +2676,12 @@ bool wxWindowMac::MacSetupCursor( const wxPoint& pt)
 
 wxString wxWindowMac::MacGetToolTipString( wxPoint &pt )
 {
+#if wxUSE_TOOLTIPS
     if ( m_tooltip )
     {
         return m_tooltip->GetTip() ;
     }
+#endif
     return wxEmptyString ;
 }