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
@@ -1241,8 +1241,7 @@ int wxEntry(int& argc, wxChar** argv);
|
||||
/**
|
||||
See wxEntry(int&,wxChar**) for more info about this function.
|
||||
|
||||
Notice that under Windows CE platform, and only there, the type of @a pCmdLine
|
||||
is @c wchar_t *, otherwise it is @c char *, even in Unicode build.
|
||||
Notice that the type of @a pCmdLine is @c char *, even in Unicode build.
|
||||
|
||||
@remarks To clean up wxWidgets, call wxApp::OnExit followed by the static
|
||||
function wxApp::CleanUp. For example, if exiting from an MFC application
|
||||
|
@@ -17,8 +17,6 @@
|
||||
|
||||
/**
|
||||
Default style of the choice dialog.
|
||||
|
||||
@remarks wxRESIZE_BORDER is not used under WinCE.
|
||||
*/
|
||||
#define wxCHOICEDLG_STYLE (wxDEFAULT_DIALOG_STYLE | wxOK | wxCANCEL | wxCENTRE | wxRESIZE_BORDER)
|
||||
|
||||
|
@@ -11,9 +11,7 @@
|
||||
/**
|
||||
Exits the program immediately.
|
||||
|
||||
This is a simple wrapper for the standard abort() function which is not
|
||||
available under all platforms (currently only Windows CE doesn't provide
|
||||
it).
|
||||
This is a simple wrapper for the standard abort() function.
|
||||
|
||||
@since 2.9.4
|
||||
*/
|
||||
|
@@ -304,17 +304,6 @@ public:
|
||||
*/
|
||||
virtual bool DoLayoutAdaptation();
|
||||
|
||||
/**
|
||||
This function is called when the titlebar OK button is pressed
|
||||
(PocketPC only). A command event for the identifier returned by
|
||||
GetAffirmativeId() is sent by default. You can override this function.
|
||||
If the function returns @false, wxWidgets will call Close() for the
|
||||
dialog.
|
||||
|
||||
@onlyfor{wxmsw}
|
||||
*/
|
||||
virtual bool DoOK();
|
||||
|
||||
/**
|
||||
A static function enabling or disabling layout adaptation for all
|
||||
dialogs.
|
||||
|
@@ -34,7 +34,7 @@ const char wxDirDialogNameStr[] = "wxDirCtrl";
|
||||
@beginStyleTable
|
||||
@style{wxDD_DEFAULT_STYLE}
|
||||
Equivalent to a combination of wxDEFAULT_DIALOG_STYLE and
|
||||
wxRESIZE_BORDER (the last one is not used under wxWinCE).
|
||||
wxRESIZE_BORDER.
|
||||
@style{wxDD_DIR_MUST_EXIST}
|
||||
The dialog will allow the user to choose only an existing folder.
|
||||
When this style is not given, a "Create new directory" button is
|
||||
|
@@ -2573,11 +2573,6 @@ enum wxMouseWheelAxis
|
||||
call wxWindow::ScreenToClient() next to convert it to window coordinates of
|
||||
another window.
|
||||
|
||||
@note Note that under Windows CE mouse enter and leave events are not natively
|
||||
supported by the system but are generated by wxWidgets itself. This has several
|
||||
drawbacks: the LEAVE_WINDOW event might be received some time after the mouse
|
||||
left the window and the state variables for it may have changed during this time.
|
||||
|
||||
@note Note the difference between methods like wxMouseEvent::LeftDown and
|
||||
the inherited wxMouseState::LeftIsDown: the former returns @true when
|
||||
the event corresponds to the left mouse button click while the latter
|
||||
|
@@ -265,7 +265,6 @@ public:
|
||||
An appropriate class is aliased to the name wxHelpController for each platform, as
|
||||
follows:
|
||||
- On desktop Windows, wxCHMHelpController is used (MS HTML Help).
|
||||
- On Windows CE, wxWinceHelpController is used.
|
||||
- On all other platforms, wxHtmlHelpController is used if wxHTML is compiled
|
||||
into wxWidgets; otherwise wxExtHelpController is used (for invoking an
|
||||
external browser).
|
||||
@@ -285,8 +284,6 @@ public:
|
||||
HTB versions of the help file. For wxMSW only.
|
||||
- wxExtHelpController, for controlling external browsers under Unix.
|
||||
The default browser is Netscape Navigator. The 'help' sample shows its use.
|
||||
- wxWinceHelpController, for controlling a simple @c .htm help controller for
|
||||
Windows CE applications.
|
||||
- wxHtmlHelpController, a sophisticated help controller using wxHTML, in a
|
||||
similar style to the Microsoft HTML Help viewer and using some of the same
|
||||
files. Although it has an API compatible with other help controllers, it has
|
||||
|
@@ -66,8 +66,7 @@ bool wxEntryStart(int& argc, wxChar** argv);
|
||||
This is an additional overload of wxEntryStart() provided under MSW only.
|
||||
It is meant to be called with the parameters passed to WinMain().
|
||||
|
||||
@note Under Windows CE platform, and only there, the type of @a pCmdLine is
|
||||
@c wchar_t *, otherwise it is @c char *, even in Unicode build.
|
||||
@note The type of @a pCmdLine is @c char *, even in Unicode build.
|
||||
|
||||
@onlyfor{wxmsw}
|
||||
|
||||
|
@@ -197,8 +197,7 @@ public:
|
||||
|
||||
- @b wxMEDIABACKEND_DIRECTSHOW: Use ActiveMovie/DirectShow.
|
||||
Uses the native ActiveMovie (I.E. DirectShow) control.
|
||||
Default backend on Windows and supported by nearly all Windows versions,
|
||||
even some Windows CE versions.
|
||||
Default backend on Windows and supported by nearly all Windows versions.
|
||||
May display a windows media player logo while inactive.
|
||||
- @b wxMEDIABACKEND_QUICKTIME: Use QuickTime. Mac Only.
|
||||
WARNING: May not working correctly embedded in a wxNotebook.
|
||||
|
@@ -31,7 +31,7 @@ enum wxOperatingSystemId
|
||||
wxOS_WINDOWS_9X = 1 << 2, //!< Windows 9x family (95/98/ME)
|
||||
wxOS_WINDOWS_NT = 1 << 3, //!< Windows NT family (NT/2000/XP/Vista/7)
|
||||
wxOS_WINDOWS_MICRO = 1 << 4, //!< MicroWindows
|
||||
wxOS_WINDOWS_CE = 1 << 5, //!< Windows CE (Window Mobile)
|
||||
wxOS_WINDOWS_CE = 1 << 5, //!< Windows CE (Windows Mobile)
|
||||
|
||||
//! A combination of all @c wxOS_WINDOWS_* values previously listed.
|
||||
wxOS_WINDOWS = wxOS_WINDOWS_9X |
|
||||
@@ -63,9 +63,7 @@ enum wxOperatingSystemId
|
||||
/**
|
||||
The list of wxWidgets ports.
|
||||
|
||||
Some of them can be used with more than a single (native) toolkit;
|
||||
e.g. wxWinCE port sources can be used with smartphones, pocket PCs
|
||||
and handheld devices SDKs.
|
||||
Some of them can be used with more than a single (native) toolkit.
|
||||
*/
|
||||
enum wxPortId
|
||||
{
|
||||
|
@@ -75,12 +75,6 @@
|
||||
appearance but not all fonts are available in this quality,
|
||||
e.g. the Terminal font in small sizes is not and this option may be
|
||||
used if wider fonts selection is more important than higher quality.
|
||||
@flag{wince.dialog.real-ok-cancel}
|
||||
The PocketPC guidelines recommend for Ok/Cancel dialogs to use an OK button
|
||||
located inside the caption bar and implement Cancel functionality through
|
||||
Undo outside the dialog.
|
||||
wxDialog::CreateButtonSizer will follow the native behaviour on WinCE but
|
||||
it can be overridden with real wxButtons by setting the option below to 1.
|
||||
@endFlagTable
|
||||
|
||||
|
||||
|
@@ -801,16 +801,6 @@ public:
|
||||
*/
|
||||
virtual wxToolBarToolBase* RemoveTool(int id);
|
||||
|
||||
/**
|
||||
Sets the bitmap resource identifier for specifying tool bitmaps as
|
||||
indices into a custom bitmap.
|
||||
|
||||
This is a Windows CE-specific method not available in the other ports.
|
||||
|
||||
@onlyfor{wxmsw_wince}
|
||||
*/
|
||||
void SetBitmapResource(int resourceId);
|
||||
|
||||
/**
|
||||
Sets the dropdown menu for the tool given by its @e id. The tool itself
|
||||
will delete the menu when it's no longer needed. Only supported under
|
||||
|
@@ -225,14 +225,6 @@ public:
|
||||
*/
|
||||
virtual wxString GetTitle() const;
|
||||
|
||||
/**
|
||||
Unique to the wxWinCE port. Responds to showing/hiding SIP (soft input
|
||||
panel) area and resize window accordingly. Override this if you want to
|
||||
avoid resizing or do additional operations.
|
||||
*/
|
||||
virtual bool HandleSettingChange(WXWPARAM wParam,
|
||||
WXLPARAM lParam);
|
||||
|
||||
/**
|
||||
Iconizes or restores the window.
|
||||
|
||||
@@ -402,24 +394,6 @@ public:
|
||||
*/
|
||||
virtual void SetIcons(const wxIconBundle& icons);
|
||||
|
||||
/**
|
||||
Sets action or menu activated by pressing left hardware button on the
|
||||
smart phones. Unavailable on full keyboard machines.
|
||||
|
||||
@param id
|
||||
Identifier for this button.
|
||||
@param label
|
||||
Text to be displayed on the screen area dedicated to this hardware
|
||||
button.
|
||||
@param subMenu
|
||||
The menu to be opened after pressing this hardware button.
|
||||
|
||||
@see SetRightMenu().
|
||||
*/
|
||||
void SetLeftMenu(int id = wxID_ANY,
|
||||
const wxString& label = wxEmptyString,
|
||||
wxMenu* subMenu = NULL);
|
||||
|
||||
/**
|
||||
A simpler interface for setting the size hints than SetSizeHints().
|
||||
*/
|
||||
@@ -430,24 +404,6 @@ public:
|
||||
*/
|
||||
virtual void SetMinSize(const wxSize& size);
|
||||
|
||||
/**
|
||||
Sets action or menu activated by pressing right hardware button on the
|
||||
smart phones. Unavailable on full keyboard machines.
|
||||
|
||||
@param id
|
||||
Identifier for this button.
|
||||
@param label
|
||||
Text to be displayed on the screen area dedicated to this hardware
|
||||
button.
|
||||
@param subMenu
|
||||
The menu to be opened after pressing this hardware button.
|
||||
|
||||
@see SetLeftMenu().
|
||||
*/
|
||||
void SetRightMenu(int id = wxID_ANY,
|
||||
const wxString& label = wxEmptyString,
|
||||
wxMenu* subMenu = NULL);
|
||||
|
||||
/**
|
||||
Allows specification of minimum and maximum window sizes, and window
|
||||
size increments. If a pair of values is not set (or set to -1), no
|
||||
|
Reference in New Issue
Block a user