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
@@ -28,10 +28,6 @@
|
||||
#include "wx/html/htmldefs.h"
|
||||
#include "wx/arrimpl.cpp"
|
||||
|
||||
#ifdef __WXWINCE__
|
||||
#include "wx/msw/wince/missing.h" // for bsearch()
|
||||
#endif
|
||||
|
||||
// DLL options compatibility check:
|
||||
WX_CHECK_BUILD_OPTIONS("wxHTML")
|
||||
|
||||
@@ -846,23 +842,10 @@ wxChar wx28HtmlEntitiesParser::GetEntityChar(const wxString& entity)
|
||||
substitutions_cnt++;
|
||||
|
||||
wx28HtmlEntityInfo *info = NULL;
|
||||
#ifdef __WXWINCE__
|
||||
// bsearch crashes under WinCE for some reason
|
||||
size_t i;
|
||||
for (i = 0; i < substitutions_cnt; i++)
|
||||
{
|
||||
if (entity == substitutions[i].name)
|
||||
{
|
||||
info = & substitutions[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
#else
|
||||
info = (wx28HtmlEntityInfo*) bsearch(entity.c_str(), substitutions,
|
||||
substitutions_cnt,
|
||||
sizeof(wx28HtmlEntityInfo),
|
||||
wx28HtmlEntityCompare);
|
||||
#endif
|
||||
if (info)
|
||||
code = info->code;
|
||||
}
|
||||
|
Reference in New Issue
Block a user