From ec79aded140ef52917c9dc5887f74b34f5c0b181 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 22 Jan 2004 18:38:40 +0000 Subject: [PATCH] systen encoding for mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/intl.cpp | 2 ++ 1 file changed, 2 insertions(+) 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() ) -- 2.45.2