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:
Tobias Taschner
2015-08-27 17:48:54 +02:00
committed by Vadim Zeitlin
parent 6fbc2bd0b7
commit 8282c1be0f
388 changed files with 1109 additions and 19505 deletions

View File

@@ -50,11 +50,6 @@
#include "wx/utils.h" // For wxLoadUserResource()
#endif
#ifdef __WXWINCE__
#include <winreg.h>
#include <shellapi.h>
#endif
#include "wx/file.h"
#include "wx/listimpl.cpp"
@@ -500,13 +495,11 @@ bool wxICOFileHandler::LoadIcon(wxIcon *icon,
}
//else: not standard size, load below
#ifndef __WXWINCE__
if ( !hicon )
{
// take any size icon from the file by index
hicon = ::ExtractIcon(wxGetInstance(), nameReal.t_str(), iconIndex);
}
#endif
if ( !hicon )
{
@@ -566,7 +559,6 @@ bool wxICOResourceHandler::LoadIcon(wxIcon *icon,
}
// next check if it's not a standard icon
#ifndef __WXWINCE__
if ( !hicon && !hasSize )
{
static const struct
@@ -590,7 +582,6 @@ bool wxICOResourceHandler::LoadIcon(wxIcon *icon,
}
}
}
#endif
return icon->CreateFromHICON((WXHICON)hicon);
}
@@ -648,11 +639,10 @@ bool wxPNGResourceHandler::LoadFile(wxBitmap *bitmap,
// private functions
// ----------------------------------------------------------------------------
wxSize wxGetHiconSize(HICON WXUNUSED_IN_WINCE(hicon))
wxSize wxGetHiconSize(HICON hicon)
{
wxSize size;
#ifndef __WXWINCE__
if ( hicon )
{
AutoIconInfo info;
@@ -671,7 +661,6 @@ wxSize wxGetHiconSize(HICON WXUNUSED_IN_WINCE(hicon))
}
if ( !size.x )
#endif // !__WXWINCE__
{
// use default icon size on this hardware
size.x = ::GetSystemMetrics(SM_CXICON);