Don't use native font always.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
69067986c1
commit
97bdb4c890
@ -884,6 +884,9 @@ wxXFont* wxFont::GetInternalFont(double scale, WXDisplay* display) const
|
||||
}
|
||||
|
||||
wxString xFontName = M_FONTDATA->m_nativeFontInfo.GetXFontName();
|
||||
if (xFontName == "-*-*-*-*-*--*-*-*-*-*-*-*-*")
|
||||
// wxFont constructor not called with native font info parameter => take M_FONTDATA values
|
||||
xFontName.Clear();
|
||||
|
||||
// not found, create a new one
|
||||
XFontStruct *font = (XFontStruct *)
|
||||
|
Loading…
Reference in New Issue
Block a user