X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b556b005eddd5bf5d04f01eaba6b313d8305d1a..4d073429a06c885db6440b79d754d8316d847223:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index b32ce87d3d..0a3c746a53 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -2238,6 +2238,8 @@ wxFontEncoding wxLocale::GetSystemEncoding() { return wxFONTENCODING_CP950; } +#elif defined(__WXMAC__) + return wxMacGetFontEncFromSystemEnc( CFStringGetSystemEncoding() ) ; #elif defined(__UNIX_LIKE__) && wxUSE_FONTMAP wxString encname = GetSystemEncodingName(); if ( !encname.empty() )