diff --git a/src/common/fontcmn.cpp b/src/common/fontcmn.cpp index df7590c806..467b747658 100644 --- a/src/common/fontcmn.cpp +++ b/src/common/fontcmn.cpp @@ -323,8 +323,11 @@ bool wxNativeFontInfo::FromString(const wxString& s) underlined = l != 0; faceName = tokenizer.GetNextToken(); + +#ifndef __WXMAC__ if( !faceName ) return FALSE; +#endif token = tokenizer.GetNextToken(); if ( !token.ToLong(&l) )