]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
add SetNativeTheme() (slightly modified patch 1884553)
[wxWidgets.git] / src / common / intl.cpp
index 62967e53c77fd4848acde9968e4135328a003f29..bd4a1953e332e6493b66b9bb62a8795db1122fc7 100644 (file)
@@ -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