X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7821f944fa976adfa7a2285c0aea7c4a4a4bdcb..147043343ea6b36fd07f786ab4c5d2d6f6be09e6:/src/common/intl.cpp?ds=sidebyside diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 0aefb4530a..f41c6ba9c5 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1240,7 +1240,7 @@ wxString wxLocale::GetSystemEncodingName() { wxString encname; -#ifdef __WIN32__ +#if defined(__WIN32__) && !defined(__WXMICROWIN__) // FIXME: what is the error return value for GetACP()? UINT codepage = ::GetACP(); encname.Printf(_T("windows-%u"), codepage); @@ -1292,7 +1292,7 @@ wxString wxLocale::GetSystemEncodingName() /* static */ wxFontEncoding wxLocale::GetSystemEncoding() { -#ifdef __WIN32__ +#if defined(__WIN32__) && !defined(__WXMICROWIN__) UINT codepage = ::GetACP(); // wxWindows only knows about CP1250-1257, 932, 936, 949, 950