fix harmless unused variable warning under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1842,11 +1842,11 @@ bool wxLocale::Init(int language, int flags)
|
|||||||
}
|
}
|
||||||
else // language supported by Windows
|
else // language supported by Windows
|
||||||
{
|
{
|
||||||
const wxUint32 lcid = info->GetLCID();
|
|
||||||
|
|
||||||
// Windows CE doesn't have SetThreadLocale() and there doesn't seem
|
// Windows CE doesn't have SetThreadLocale() and there doesn't seem
|
||||||
// to be any equivalent
|
// to be any equivalent
|
||||||
#ifndef __WXWINCE__
|
#ifndef __WXWINCE__
|
||||||
|
const wxUint32 lcid = info->GetLCID();
|
||||||
|
|
||||||
// change locale used by Windows functions
|
// change locale used by Windows functions
|
||||||
::SetThreadLocale(lcid);
|
::SetThreadLocale(lcid);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user