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
@@ -61,11 +61,6 @@
|
||||
#include "wx/tooltip.h"
|
||||
#endif // wxUSE_TOOLTIPS
|
||||
|
||||
#if defined(__POCKETPC__) || defined(__SMARTPHONE__)
|
||||
#include <ole2.h>
|
||||
#include <aygshell.h>
|
||||
#endif
|
||||
|
||||
#if wxUSE_OLE
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
@@ -104,9 +99,7 @@
|
||||
// global variables
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
#if !defined(__WXWINCE__)
|
||||
extern void wxSetKeyboardHook(bool doIt);
|
||||
#endif
|
||||
|
||||
// because of mingw32 4.3 bug this struct can't be inside the namespace below:
|
||||
// see http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/110282
|
||||
@@ -251,11 +244,7 @@ wxPortId wxGUIAppTraits::GetToolkitVersion(int *majVer, int *minVer) const
|
||||
// as Windows integrates the OS kernel with the GUI toolkit.
|
||||
wxGetOsVersion(majVer, minVer);
|
||||
|
||||
#if defined(__WXHANDHELD__) || defined(__WXWINCE__)
|
||||
return wxPORT_WINCE;
|
||||
#else
|
||||
return wxPORT_MSW;
|
||||
#endif
|
||||
}
|
||||
|
||||
#if wxUSE_TIMER
|
||||
@@ -276,8 +265,6 @@ wxEventLoopBase* wxGUIAppTraits::CreateEventLoop()
|
||||
// Stuff for using console from the GUI applications
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
#ifndef __WXWINCE__
|
||||
|
||||
#if wxUSE_DYNLIB_CLASS
|
||||
|
||||
#include <wx/dynlib.h>
|
||||
@@ -570,8 +557,6 @@ bool wxGUIAppTraits::WriteToStderr(const wxString& WXUNUSED(text))
|
||||
|
||||
#endif // wxUSE_DYNLIB_CLASS/!wxUSE_DYNLIB_CLASS
|
||||
|
||||
#endif // !__WXWINCE__
|
||||
|
||||
// ===========================================================================
|
||||
// wxApp implementation
|
||||
// ===========================================================================
|
||||
@@ -615,15 +600,9 @@ bool wxApp::Initialize(int& argc_, wxChar **argv_)
|
||||
|
||||
InitCommonControls();
|
||||
|
||||
#if defined(__SMARTPHONE__) || defined(__POCKETPC__)
|
||||
SHInitExtraControls();
|
||||
#endif
|
||||
|
||||
wxOleInitialize();
|
||||
|
||||
#if !defined(__WXWINCE__)
|
||||
wxSetKeyboardHook(true);
|
||||
#endif
|
||||
|
||||
callBaseCleanup.Dismiss();
|
||||
|
||||
@@ -728,9 +707,7 @@ void wxApp::CleanUp()
|
||||
// class method first and only then do our clean up
|
||||
wxAppBase::CleanUp();
|
||||
|
||||
#if !defined(__WXWINCE__)
|
||||
wxSetKeyboardHook(false);
|
||||
#endif
|
||||
|
||||
wxOleUninitialize();
|
||||
|
||||
@@ -824,9 +801,6 @@ void wxApp::OnQueryEndSession(wxCloseEvent& event)
|
||||
// system DLL versions
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// these functions have trivial inline implementations for CE
|
||||
#ifndef __WXWINCE__
|
||||
|
||||
#if wxUSE_DYNLIB_CLASS
|
||||
|
||||
namespace
|
||||
@@ -965,8 +939,6 @@ int wxApp::GetShell32Version()
|
||||
|
||||
#endif // wxUSE_DYNLIB_CLASS/!wxUSE_DYNLIB_CLASS
|
||||
|
||||
#endif // !__WXWINCE__
|
||||
|
||||
#if wxUSE_EXCEPTIONS
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user