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

@@ -23,7 +23,7 @@
#pragma hdrstop
#endif
#if wxUSE_TEXTCTRL && !(defined(__SMARTPHONE__) && defined(__WXWINCE__))
#if wxUSE_TEXTCTRL
#ifndef WX_PRECOMP
#include "wx/textctrl.h"
@@ -58,9 +58,7 @@
#include <string.h>
#include <stdlib.h>
#ifndef __WXWINCE__
#include <sys/types.h>
#endif
#if wxUSE_RICHEDIT
#include <richedit.h>
@@ -366,12 +364,8 @@ bool wxTextCtrl::Create(wxWindow *parent,
// returns true if the platform should explicitly apply a theme border
bool wxTextCtrl::CanApplyThemeBorder() const
{
#ifdef __WXWINCE__
return false;
#else
// Standard text control already handles theming
return ((GetWindowStyle() & (wxTE_RICH|wxTE_RICH2)) != 0);
#endif
}
bool wxTextCtrl::MSWCreateText(const wxString& value,
@@ -384,12 +378,6 @@ bool wxTextCtrl::MSWCreateText(const wxString& value,
// do create the control - either an EDIT or RICHEDIT
wxString windowClass = wxT("EDIT");
#if defined(__POCKETPC__) || defined(__SMARTPHONE__)
// A control that capitalizes the first letter
if ( HasFlag(wxTE_CAPITALIZE) )
windowClass = wxT("CAPEDIT");
#endif
#if wxUSE_RICHEDIT
if ( m_windowStyle & wxTE_AUTO_URL )
{
@@ -592,7 +580,6 @@ bool wxTextCtrl::MSWCreateText(const wxString& value,
SetBackgroundColour(GetClassDefaultAttributes().colBg);
}
#ifndef __WXWINCE__
// Without this, if we pass the size in the constructor and then don't change it,
// the themed borders will be drawn incorrectly.
SetWindowPos(GetHwnd(), NULL, 0, 0, 0, 0,
@@ -628,7 +615,6 @@ bool wxTextCtrl::MSWCreateText(const wxString& value,
::SendMessage(GetHwnd(), EM_SETMARGINS, wParam, lParam);
}
#endif // !__WXWINCE__
return true;
}
@@ -1789,8 +1775,6 @@ void wxTextCtrl::SetMaxLength(unsigned long len)
}
}
#ifndef __WXWINCE__
// ----------------------------------------------------------------------------
// RTL support
// ----------------------------------------------------------------------------
@@ -1822,8 +1806,6 @@ wxLayoutDirection wxTextCtrl::GetLayoutDirection() const
: wxGetEditLayoutDirection(GetHwnd());
}
#endif // !__WXWINCE__
// ----------------------------------------------------------------------------
// Undo/redo
// ----------------------------------------------------------------------------
@@ -3145,4 +3127,4 @@ bool wxRichEditModule::LoadInkEdit()
#endif // wxUSE_RICHEDIT
#endif // wxUSE_TEXTCTRL && !(__SMARTPHONE__ && __WXWINCE__)
#endif // wxUSE_TEXTCTRL