fix in fontspec parsing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2000-03-17 18:29:58 +00:00
parent b2b3552407
commit a7987cc1a2
2 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,7 @@ wxFont::wxFont( const wxString& fontname, const wxFontData& fontdata )
wxStringTokenizer tn( fontname, wxT("-") );
tn.GetNextToken(); // skip initial empty token
tn.GetNextToken(); // foundry
M_FONTDATA->m_faceName = tn.GetNextToken(); // family

View File

@ -166,6 +166,7 @@ wxFont::wxFont( const wxString& fontname, const wxFontData& fontdata )
wxStringTokenizer tn( fontname, wxT("-") );
tn.GetNextToken(); // skip initial empty token
tn.GetNextToken(); // foundry
M_FONTDATA->m_faceName = tn.GetNextToken(); // family