X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/283c797c5c79a25d6998abe1ab6cc1b17260dc19..5bf3f27fc91ff3288000c0134ac4bdfdf2e7db4f:/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;