X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/283c797c5c79a25d6998abe1ab6cc1b17260dc19..a766986f6d443ba1d50e3af25f3306fa56e4518e:/src/univ/statusbr.cpp diff --git a/src/univ/statusbr.cpp b/src/univ/statusbr.cpp index b4846a8766..8c817a5ab3 100644 --- a/src/univ/statusbr.cpp +++ b/src/univ/statusbr.cpp @@ -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;