systen encoding for mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2004-01-22 18:38:40 +00:00
parent 34c2c1a1d9
commit ec79aded14

View File

@ -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() )