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
@@ -18,11 +18,7 @@
|
||||
// resizing complicated window hierarchies, but this can in theory result in
|
||||
// different behaviour than the old code so we keep the possibility to use it
|
||||
// by setting this to 0 (in the future this should be removed completely)
|
||||
#ifdef __WXWINCE__
|
||||
#define wxUSE_DEFERRED_SIZING 0
|
||||
#else
|
||||
#define wxUSE_DEFERRED_SIZING 1
|
||||
#endif
|
||||
#define wxUSE_DEFERRED_SIZING 1
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// wxWindow declaration for MSW
|
||||
@@ -139,11 +135,6 @@ public:
|
||||
virtual bool UnregisterHotKey(int hotkeyId);
|
||||
#endif // wxUSE_HOTKEY
|
||||
|
||||
#ifdef __POCKETPC__
|
||||
bool IsContextMenuEnabled() const { return m_contextMenuEnabled; }
|
||||
void EnableContextMenu(bool enable = true) { m_contextMenuEnabled = enable; }
|
||||
#endif
|
||||
|
||||
// window handle stuff
|
||||
// -------------------
|
||||
|
||||
@@ -188,9 +179,6 @@ public:
|
||||
// --------------
|
||||
|
||||
void OnPaint(wxPaintEvent& event);
|
||||
#ifdef __WXWINCE__
|
||||
void OnInitDialog(wxInitDialogEvent& event);
|
||||
#endif
|
||||
|
||||
public:
|
||||
// Windows subclassing
|
||||
@@ -486,7 +474,7 @@ public:
|
||||
return InheritsBackgroundColour();
|
||||
}
|
||||
|
||||
#if !defined(__WXWINCE__) && !defined(__WXUNIVERSAL__)
|
||||
#if !defined(__WXUNIVERSAL__)
|
||||
#define wxHAS_MSW_BACKGROUND_ERASE_HOOK
|
||||
#endif
|
||||
|
||||
@@ -719,10 +707,6 @@ protected:
|
||||
#endif // wxUSE_DEFERRED_SIZING
|
||||
|
||||
private:
|
||||
#ifdef __POCKETPC__
|
||||
bool m_contextMenuEnabled;
|
||||
#endif
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxWindowMSW);
|
||||
wxDECLARE_NO_COPY_CLASS(wxWindowMSW);
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
|
Reference in New Issue
Block a user