MGR: Fix tiny font problem in Statistics tab when monitor dpi is set to 125% of normal on MS Windows

This commit is contained in:
Charlie Fenton 2014-01-11 02:32:22 -08:00
parent 52cbfd260e
commit 8d621a1803
1 changed files with 5 additions and 3 deletions

View File

@ -1162,9 +1162,11 @@ void CPaintStatistics::DrawAll(wxDC &dc) {
dc.SetTextForeground (m_pen_HeadTextColour);
dc.SetTextBackground (GetBackgroundColour ());
m_font_standart = dc.GetFont();
m_font_bold = dc.GetFont();
m_font_standart_italic = dc.GetFont();
// The next 3 lines seem unnecessary and cause problems
// when monitor dpi is set to 125% of normal on MS Windows.
// m_font_standart = dc.GetFont();
// m_font_bold = dc.GetFont();
// m_font_standart_italic = dc.GetFont();
m_font_standart.SetWeight(wxNORMAL);
m_font_bold.SetWeight(wxBOLD);