Remove Windows CE support
Windows CE doesn't seem to be supported by Microsoft any longer. Last CE release was in early 2013 and the PocketPC and Smartphone targets supported by wxWidgets are long gone. The build files where already removed in an earlier cleanup this commit removes all files, every #ifdef and all documentation regarding the Windows CE support. Closes https://github.com/wxWidgets/wxWidgets/pull/81
This commit is contained in:
committed by
Vadim Zeitlin
parent
6fbc2bd0b7
commit
8282c1be0f
@@ -37,9 +37,7 @@
|
||||
#include "wx/module.h"
|
||||
#endif // WX_PRECOMP
|
||||
|
||||
#ifndef __WXWINCE__
|
||||
#include <locale.h>
|
||||
#endif
|
||||
#include <locale.h>
|
||||
|
||||
// standard headers
|
||||
#include <ctype.h>
|
||||
@@ -466,9 +464,6 @@ bool wxLocale::Init(int language, int flags)
|
||||
}
|
||||
else // language supported by Windows
|
||||
{
|
||||
// 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
|
||||
@@ -485,7 +480,6 @@ bool wxLocale::Init(int language, int flags)
|
||||
if (pfnSetThreadUILanguage)
|
||||
pfnSetThreadUILanguage(LANGIDFROMLCID(lcid));
|
||||
}
|
||||
#endif
|
||||
|
||||
// and also call setlocale() to change locale used by the CRT
|
||||
locale = info->GetLocaleName();
|
||||
|
Reference in New Issue
Block a user