if ( convertEncoding )
{
wxFontEncoding targetEnc = wxFONTENCODING_SYSTEM;
- wxFontEncoding enc = wxFontMapper::Get()->CharsetToEncoding(charset, FALSE);
+ wxFontEncoding enc = wxFontMapper::Get()->CharsetToEncoding(m_charset, FALSE);
if ( enc == wxFONTENCODING_SYSTEM )
{
convertEncoding = FALSE; // unknown encoding
{
return wxFONTENCODING_CP950;
}
+#elif defined(__WXMAC__)
+ return wxMacGetFontEncFromSystemEnc( CFStringGetSystemEncoding() ) ;
#elif defined(__UNIX_LIKE__) && wxUSE_FONTMAP
wxString encname = GetSystemEncodingName();
if ( !encname.empty() )
if ( szDomain != NULL )
{
wxLogTrace(_T("i18n"),
- _T("string '%s'[%d] not found in domain '%s' for locale '%s'."),
+ _T("string '%s'[%ld] not found in domain '%s' for locale '%s'."),
szOrigString, n, szDomain, m_strLocale.c_str());
}
else
{
wxLogTrace(_T("i18n"),
- _T("string '%s'[%d] not found in locale '%s'."),
+ _T("string '%s'[%ld] not found in locale '%s'."),
szOrigString, n, m_strLocale.c_str());
}
}