]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/statbrma.cpp
fixing origin
[wxWidgets.git] / src / mac / carbon / statbrma.cpp
index 6a8bd124ac4c88ba6234b921af799c6351448491..9bca84cca9e9f58fca400edf4d115d18eb3d2434 100644 (file)
 
 #include "wx/wxprec.h"
 
+#if wxUSE_STATUSBAR
+
 #include "wx/statusbr.h"
 
 #ifndef WX_PRECOMP
     #include "wx/dc.h"
+    #include "wx/dcclient.h"
+    #include "wx/toplevel.h"
 #endif
 
-#include "wx/dcclient.h"
-
 #include "wx/mac/private.h"
-#include "wx/toplevel.h"
 
 
 BEGIN_EVENT_TABLE(wxStatusBarMac, wxStatusBarGeneric)
@@ -176,3 +177,6 @@ void wxStatusBarMac::MacHiliteChanged()
     Refresh();
     Update();
 }
+
+#endif // wxUSE_STATUSBAR
+