#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)
wxString text(GetStatusText( i ));
- long x, y;
-
+ wxCoord x, y;
dc.GetTextExtent(text, &x, &y);
int leftMargin = 2;
Refresh();
Update();
}
+
+#endif // wxUSE_STATUSBAR
+