]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statusbr.cpp
guard code for mac / quickdraw
[wxWidgets.git] / src / univ / statusbr.cpp
index b4846a87665657dde306ce74c6c459486769ef03..8c817a5ab3cd381d28a787872807a72a393671ab 100644 (file)
@@ -110,7 +110,8 @@ void wxStatusBarUniv::DoDraw(wxControlRenderer *renderer)
 
     // prepare the DC
     wxDC& dc = renderer->GetDC();
-    dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
+    dc.SetFont(GetFont());
+    dc.SetTextForeground(GetForegroundColour());
 
     // do draw the fields
     int flags = IsEnabled() ? 0 : (int)wxCONTROL_DISABLED;