Apply font family for wxFont in wxQt
Closes https://github.com/wxWidgets/wxWidgets/pull/1512
This commit is contained in:
parent
39cb337008
commit
8c18ee8c25
@ -563,7 +563,7 @@ void wxNativeFontInfo::SetFamily(wxFontFamily family)
|
||||
{
|
||||
m_qtFont.setStyleHint(ConvertFontFamily(family));
|
||||
// reset the face name to force qt to choose a new font
|
||||
m_qtFont.setFamily("");
|
||||
m_qtFont.setFamily(m_qtFont.defaultFamily());
|
||||
}
|
||||
|
||||
void wxNativeFontInfo::SetEncoding(wxFontEncoding WXUNUSED(encoding))
|
||||
|
Loading…
Reference in New Issue
Block a user