diff --git a/src/msw/font.cpp b/src/msw/font.cpp index fde6b86faf..ac1a4d3cce 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -770,7 +770,7 @@ bool wxNativeFontInfo::FromString(const wxString& s) return false; // the face name may be empty - wxStrcpy(lf.lfFaceName, tokenizer.GetNextToken()); + SetFaceName(tokenizer.GetNextToken()); return true; }