///////////////////////////////////////////////////////////////////////////////
-// Name: src/mac/carbon/statbarma.cpp
+// Name: src/osx/carbon/statbarma.cpp
// Purpose: native implementation of wxStatusBar (optional)
// Author: Stefan Csomor
// Modified by:
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));