Added missing wxUSE_FONTENUM check.
Closes #11071. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c7f171ed4d
commit
b7081ff84f
@ -291,7 +291,12 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index)
|
||||
gs_fontDefault = new wxFont(font);
|
||||
}
|
||||
|
||||
wxASSERT(font.IsOk() && wxFontEnumerator::IsValidFacename(font.GetFaceName()));
|
||||
wxASSERT(font.IsOk());
|
||||
|
||||
#if wxUSE_FONTENUM
|
||||
wxASSERT(wxFontEnumerator::IsValidFacename(font.GetFaceName()));
|
||||
#endif // wxUSE_FONTENUM
|
||||
|
||||
return font;
|
||||
#endif // __WXWINCE__/!__WXWINCE__
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user