]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/statbrma.cpp
mac cleanup
[wxWidgets.git] / src / mac / carbon / statbrma.cpp
index b302d82ab659502735eb410d0379eb44dde5cb27..926198c3b01fec141afb82dd644817443714ef23 100644 (file)
@@ -59,7 +59,7 @@ bool wxStatusBarMac::Create(wxWindow *parent, wxWindowID id,
         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 );