X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfd468aafd8c2b0c6db2c8d56ddca04e26c45715..0cdd04ad993f86710bc5c9d9c8c12ec25a34ac71:/src/mac/corefoundation/cfstring.cpp?ds=inline diff --git a/src/mac/corefoundation/cfstring.cpp b/src/mac/corefoundation/cfstring.cpp index 4e71aeee0d..8cfdec84b8 100644 --- a/src/mac/corefoundation/cfstring.cpp +++ b/src/mac/corefoundation/cfstring.cpp @@ -105,9 +105,10 @@ wxUint32 wxMacGetSystemEncFromFontEnc(wxFontEncoding encoding) #if wxUSE_GUI encoding = wxFont::GetDefaultEncoding() ; #else - encoding = wxLocale::GetSystemEncoding() ; + encoding = wxFONTENCODING_SYSTEM; // to be set below #endif } + if ( encoding == wxFONTENCODING_SYSTEM ) { enc = CFStringGetSystemEncoding();