]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/stattext.cpp
fixed the menu bug introduced by the previous commit
[wxWidgets.git] / src / mac / carbon / stattext.cpp
index 3b2476af406b8b0f775308e21f4f7cbe8f16ea58..2982b7c5c4be9b726a936966abb1003832fb3409 100644 (file)
@@ -130,8 +130,8 @@ void wxStaticText::OnDraw( wxDC &dc )
         return;
 
   if ( !IsWindowHilited( (WindowRef) MacGetRootWindow() ) && 
-    ( GetBackgroundColour() == wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE ) 
-      || GetBackgroundColour() == wxSystemSettings::GetSystemColour(wxSYS_COLOUR_APPWORKSPACE) ) )
+    ( GetBackgroundColour() == wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE ) 
+      || GetBackgroundColour() == wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE) ) )
   {
     dc.SetTextForeground( wxColour( 0x80 , 0x80 , 0x80 ) ) ;
   }