fixed restoring fonts from the native font info data which was completely broken somehow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -385,7 +385,13 @@ bool wxNativeFontInfo::FromXFontName(const wxString& fontname)
|
||||
}
|
||||
|
||||
// this should be all
|
||||
return !tokenizer.HasMoreTokens();
|
||||
if ( tokenizer.HasMoreTokens() )
|
||||
return FALSE;
|
||||
|
||||
// we're initialized now
|
||||
m_isDefault = FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
wxString wxNativeFontInfo::GetXFontName() const
|
||||
|
Reference in New Issue
Block a user