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

@@ -444,17 +444,7 @@ public:
//*************************IOleInPlaceSiteEx***********************
HRESULT STDMETHODCALLTYPE OnInPlaceActivateEx(BOOL * pfNoRedraw, DWORD)
{
#ifdef __WXWINCE__
IRunnableObject* runnable = NULL;
HRESULT hr = QueryInterface(
IID_IRunnableObject, (void**)(& runnable));
if (SUCCEEDED(hr))
{
runnable->LockRunning(TRUE, FALSE);
}
#else
OleLockRunning(m_window->m_ActiveX, TRUE, FALSE);
#endif
if (pfNoRedraw)
(*pfNoRedraw) = FALSE;
return S_OK;
@@ -462,17 +452,7 @@ public:
HRESULT STDMETHODCALLTYPE OnInPlaceDeactivateEx(BOOL)
{
#ifdef __WXWINCE__
IRunnableObject* runnable = NULL;
HRESULT hr = QueryInterface(
IID_IRunnableObject, (void**)(& runnable));
if (SUCCEEDED(hr))
{
runnable->LockRunning(FALSE, FALSE);
}
#else
OleLockRunning(m_window->m_ActiveX, FALSE, FALSE);
#endif
return S_OK;
}
STDMETHOD(RequestUIActivate)(){ return S_OK;}
@@ -526,9 +506,7 @@ public:
HRESULT STDMETHODCALLTYPE LockContainer(BOOL){return S_OK;}
//********************IOleItemContainer***************************
HRESULT STDMETHODCALLTYPE
#if 0 // defined(__WXWINCE__) && __VISUALC__ < 1400
GetObject
#elif defined(_UNICODE)
#if defined(_UNICODE)
GetObjectW
#else
GetObjectA
@@ -1224,11 +1202,7 @@ void wxActiveXContainer::OnPaint(wxPaintEvent& WXUNUSED(event))
posRect.right = w;
posRect.bottom = h;
#if !(defined(_WIN32_WCE) && _WIN32_WCE < 400)
::RedrawWindow(m_oleObjectHWND, NULL, NULL, RDW_INTERNALPAINT);
#else
::InvalidateRect(m_oleObjectHWND, NULL, false);
#endif
RECTL *prcBounds = (RECTL *) &posRect;
wxMSWDCImpl *msw = wxDynamicCast( dc.GetImpl() , wxMSWDCImpl );
m_viewObject->Draw(DVASPECT_CONTENT, -1, NULL, NULL, NULL,