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
@@ -85,22 +85,7 @@ class WXDLLIMPEXP_FWD_CORE wxTopLevelWindowBase;
|
||||
#endif
|
||||
|
||||
// default style
|
||||
//
|
||||
// under Windows CE (at least when compiling with eVC 4) we should create
|
||||
// top level windows without any styles at all for them to appear
|
||||
// "correctly", i.e. as full screen windows with a "hide" button (same as
|
||||
// "close" but round instead of squared and just hides the applications
|
||||
// instead of closing it) in the title bar
|
||||
#if defined(__WXWINCE__)
|
||||
#if defined(__SMARTPHONE__)
|
||||
#define wxDEFAULT_FRAME_STYLE (wxMAXIMIZE)
|
||||
#elif defined(__WINCE_STANDARDSDK__)
|
||||
#define wxDEFAULT_FRAME_STYLE (wxMAXIMIZE|wxCLOSE_BOX)
|
||||
#else
|
||||
#define wxDEFAULT_FRAME_STYLE (wxNO_BORDER)
|
||||
#endif
|
||||
#else // !__WXWINCE__
|
||||
#define wxDEFAULT_FRAME_STYLE \
|
||||
#define wxDEFAULT_FRAME_STYLE \
|
||||
(wxSYSTEM_MENU | \
|
||||
wxRESIZE_BORDER | \
|
||||
wxMINIMIZE_BOX | \
|
||||
@@ -108,7 +93,6 @@ class WXDLLIMPEXP_FWD_CORE wxTopLevelWindowBase;
|
||||
wxCLOSE_BOX | \
|
||||
wxCAPTION | \
|
||||
wxCLIP_CHILDREN)
|
||||
#endif
|
||||
|
||||
|
||||
// Dialogs are created in a special way
|
||||
@@ -225,12 +209,6 @@ public:
|
||||
// so it can still veto it even if it returns false from here
|
||||
virtual bool ShouldPreventAppExit() const { return true; }
|
||||
|
||||
|
||||
#if defined(__SMARTPHONE__)
|
||||
virtual void SetLeftMenu(int id = wxID_ANY, const wxString& label = wxEmptyString, wxMenu *subMenu = NULL) = 0;
|
||||
virtual void SetRightMenu(int id = wxID_ANY, const wxString& label = wxEmptyString, wxMenu *subMenu = NULL) = 0;
|
||||
#endif // __SMARTPHONE__
|
||||
|
||||
// centre the window on screen: this is just a shortcut
|
||||
void CentreOnScreen(int dir = wxBOTH) { DoCentre(dir | wxCENTRE_ON_SCREEN); }
|
||||
void CenterOnScreen(int dir = wxBOTH) { CentreOnScreen(dir); }
|
||||
|
Reference in New Issue
Block a user