X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01cb1c26171efc494b94d77e4351362bb0eb2e7d..05159a2750ed2cc5945a85bc5fc6849ad1a30e75:/src/common/fontcmn.cpp?ds=sidebyside 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) )