#include "wx/toplevel.h"
#endif
-#include "wx/mac/private.h"
+#include "wx/osx/private.h"
BEGIN_EVENT_TABLE(wxStatusBarMac, wxStatusBarGeneric)
if ( !wxStatusBarGeneric::Create( parent, id, style, name ) )
return false;
- if ( parent->MacGetTopLevelWindow()->MacGetMetalAppearance() )
+ if ( parent->MacGetTopLevelWindow()->GetExtraStyle() & wxFRAME_EX_METAL )
SetBackgroundStyle( wxBG_STYLE_TRANSPARENT );
// normal system font is too tall for fitting into the standard height
int xpos = rect.x + leftMargin + 1;
int ypos = 1;
- if ( MacGetTopLevelWindow()->MacGetMetalAppearance() )
+ if ( MacGetTopLevelWindow()->GetExtraStyle() & wxFRAME_EX_METAL )
ypos++;
dc.SetClippingRegion(rect.x, 0, rect.width, h);
if (major >= 10)
{
// Finder statusbar border color: (Project Builder similar is 9B9B9B)
- if ( MacGetTopLevelWindow()->MacGetMetalAppearance() )
+ if ( MacGetTopLevelWindow()->GetExtraStyle() & wxFRAME_EX_METAL )
dc.SetPen(wxPen(wxColour(0x40, 0x40, 0x40), 1, wxSOLID));
else
dc.SetPen(wxPen(wxColour(0xB1, 0xB1, 0xB1), 1, wxSOLID));