unused parameter warning fixes for --disable-all-features build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -316,9 +316,11 @@ bool wxNativeFontInfo::FromString(const wxString& s)
|
||||
|
||||
description = pango_font_description_from_string(wxPANGO_CONV(str));
|
||||
|
||||
#if wxUSE_FONTENUM
|
||||
// ensure a valid facename is selected
|
||||
if (!wxFontEnumerator::IsValidFacename(GetFaceName()))
|
||||
SetFaceName(wxNORMAL_FONT->GetFaceName());
|
||||
#endif // wxUSE_FONTENUM
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user