From fb090fa18ca3ce1955848875ab7c5545c387af89 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 21 Feb 2008 16:14:10 +0000 Subject: [PATCH] fix harmless unused variable warning under CE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/intl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.2