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

@@ -168,19 +168,7 @@ wxIMPLEMENT_DYNAMIC_CLASS(wxBitmapHandler, wxObject);
// ----------------------------------------------------------------------------
// decide whether we should create a DIB or a DDB for the given parameters
//
// NB: we always use DIBs under Windows CE as this is much simpler (even if
// also less efficient...) and we obviously can't use them if there is no
// DIB support compiled in at all
#ifdef __WXWINCE__
static inline bool wxShouldCreateDIB(int, int, int, WXHDC) { return true; }
#define ALWAYS_USE_DIB
#elif !wxUSE_WXDIB
// no sense in defining wxShouldCreateDIB() as we can't compile code
// executed if it is true, so we have to use #if's anyhow
#define NEVER_USE_DIB
#else // wxUSE_WXDIB && !__WXWINCE__
#if wxUSE_WXDIB
static inline bool wxShouldCreateDIB(int w, int h, int d, WXHDC hdc)
{
// here is the logic:
@@ -205,6 +193,10 @@ wxIMPLEMENT_DYNAMIC_CLASS(wxBitmapHandler, wxObject);
}
#define SOMETIMES_USE_DIB
#else // !wxUSE_WXDIB
// no sense in defining wxShouldCreateDIB() as we can't compile code
// executed if it is true, so we have to use #if's anyhow
#define NEVER_USE_DIB
#endif // different DIB usage scenarious
// ----------------------------------------------------------------------------
@@ -484,7 +476,6 @@ static HBITMAP CreatePremultipliedDIBIfNeeded(HBITMAP hbmp)
bool wxBitmap::CopyFromIconOrCursor(const wxGDIImage& icon,
wxBitmapTransparency transp)
{
#if !defined(__WXWINCE__)
// it may be either HICON or HCURSOR
HICON hicon = (HICON)icon.GetHandle();
@@ -587,12 +578,6 @@ bool wxBitmap::CopyFromIconOrCursor(const wxGDIImage& icon,
}
return true;
#else // __WXWINCE__
wxUnusedVar(icon);
wxUnusedVar(transp);
return false;
#endif // !__WXWINCE__/__WXWINCE__
}
bool wxBitmap::CopyFromCursor(const wxCursor& cursor, wxBitmapTransparency transp)