use window's font instead of the default one in wxStatusBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user