X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cece1d88c00e2ae4398bf87073879187f5ca54c5..c44fdc9401f92025ea8ae930cd03afd01ef3ae3f:/src/univ/statusbr.cpp diff --git a/src/univ/statusbr.cpp b/src/univ/statusbr.cpp index e3c7127f12..ab7c9374cf 100644 --- a/src/univ/statusbr.cpp +++ b/src/univ/statusbr.cpp @@ -112,7 +112,7 @@ void wxStatusBarUniv::DoDraw(wxControlRenderer *renderer) // prepare the DC wxDC& dc = renderer->GetDC(); - dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT)); + dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); // do draw the fields int flags = IsEnabled() ? 0 : wxCONTROL_DISABLED; @@ -244,7 +244,7 @@ bool wxStatusBarUniv::GetFieldRect(int n, wxRect& rect) const wxCoord wxStatusBarUniv::GetHeight() const { wxClientDC dc(wxConstCast(this, wxStatusBarUniv)); - dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT)); + dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); return dc.GetCharHeight() + 2*GetBorderY(); }