#include "wx/wxprec.h"
+#if wxUSE_STATUSBAR
+
#include "wx/statusbr.h"
#ifndef WX_PRECOMP
return false;
if ( parent->MacGetTopLevelWindow()->MacGetMetalAppearance() )
- MacSetBackgroundBrush( wxNullBrush );
+ SetBackgroundStyle( wxBG_STYLE_TRANSPARENT );
// normal system font is too tall for fitting into the standard height
SetWindowVariant( wxWINDOW_VARIANT_SMALL );
wxString text(GetStatusText( i ));
- long x, y;
-
+ wxCoord x, y;
dc.GetTextExtent(text, &x, &y);
int leftMargin = 2;
Refresh();
Update();
}
+
+#endif // wxUSE_STATUSBAR
+