avoid locale that always returns US-ASCII on wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2004-11-18 09:50:11 +00:00
parent 18f8d06335
commit 1ad48afbfd

View File

@ -2185,6 +2185,9 @@ wxString wxLocale::GetSystemEncodingName()
// FIXME: what is the error return value for GetACP()?
UINT codepage = ::GetACP();
encname.Printf(_T("windows-%u"), codepage);
#elif defined(__WXMAC__)
// default is just empty string, this resolves to the default system
// encoding later
#elif defined(__UNIX_LIKE__)
#if defined(HAVE_LANGINFO_H) && defined(CODESET)