Merge branch 'font-fixes'
Complete support for fractional point sizes and font weights other than light/bold. Also harmonize wxFont API and implementation among all ports (fixing compilation of those of them that were broken by recent changes). See https://github.com/wxWidgets/wxWidgets/pull/919
This commit is contained in:
@@ -402,8 +402,7 @@ MyFrame::MyFrame(const wxString& title)
|
||||
wxLog::SetActiveTarget(this);
|
||||
|
||||
// use fixed width font to align output in nice columns
|
||||
wxFont font(wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_TELETYPE,
|
||||
wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL);
|
||||
wxFont font(wxFontInfo().Family(wxFONTFAMILY_TELETYPE));
|
||||
header->SetFont(font);
|
||||
m_txtctrl->SetFont(font);
|
||||
|
||||
|
Reference in New Issue
Block a user