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