X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cee59b5218956f1cbfda13c10024d3322decd5d..d230488b29e48d130a8883215db18fbd92daf48c:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 62967e53c7..bd4a1953e3 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1842,11 +1842,11 @@ bool wxLocale::Init(int language, int flags) } else // language supported by Windows { - const wxUint32 lcid = info->GetLCID(); - // Windows CE doesn't have SetThreadLocale() and there doesn't seem // to be any equivalent #ifndef __WXWINCE__ + const wxUint32 lcid = info->GetLCID(); + // change locale used by Windows functions ::SetThreadLocale(lcid); #endif