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:
@@ -2238,6 +2238,8 @@ wxFontEncoding wxLocale::GetSystemEncoding()
|
|||||||
{
|
{
|
||||||
return wxFONTENCODING_CP950;
|
return wxFONTENCODING_CP950;
|
||||||
}
|
}
|
||||||
|
#elif defined(__WXMAC__)
|
||||||
|
return wxMacGetFontEncFromSystemEnc( CFStringGetSystemEncoding() ) ;
|
||||||
#elif defined(__UNIX_LIKE__) && wxUSE_FONTMAP
|
#elif defined(__UNIX_LIKE__) && wxUSE_FONTMAP
|
||||||
wxString encname = GetSystemEncodingName();
|
wxString encname = GetSystemEncodingName();
|
||||||
if ( !encname.empty() )
|
if ( !encname.empty() )
|
||||||
|
Reference in New Issue
Block a user