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
@@ -310,11 +310,9 @@ bool wxComboBox::MSWCommand(WXUINT param, WXWORD id)
|
||||
break;
|
||||
|
||||
case CBN_SELENDOK:
|
||||
#ifndef __SMARTPHONE__
|
||||
// we need to reset this to prevent the selection from being undone
|
||||
// by wxChoice, see wxChoice::MSWCommand() and comments there
|
||||
m_lastAcceptedSelection = wxID_NONE;
|
||||
#endif
|
||||
|
||||
// set these variables so that they could be also fixed in
|
||||
// CBN_EDITCHANGE below
|
||||
@@ -500,10 +498,8 @@ WXDWORD wxComboBox::MSWGetStyle(long style, WXDWORD *exstyle) const
|
||||
|
||||
if ( style & wxCB_READONLY )
|
||||
msStyle |= CBS_DROPDOWNLIST;
|
||||
#ifndef __WXWINCE__
|
||||
else if ( style & wxCB_SIMPLE )
|
||||
msStyle |= CBS_SIMPLE; // A list (shown always) and edit control
|
||||
#endif
|
||||
else
|
||||
msStyle |= CBS_DROPDOWN;
|
||||
|
||||
@@ -705,7 +701,6 @@ wxWindow *wxComboBox::MSWFindItem(long id, WXHWND hWnd) const
|
||||
|
||||
void wxComboBox::SetLayoutDirection(wxLayoutDirection dir)
|
||||
{
|
||||
#ifndef __WXWINCE__
|
||||
// Edit field and drop-down list must be handled explicitly.
|
||||
|
||||
// Edit field is a special EDIT control (e.g. it always returns null
|
||||
@@ -735,7 +730,6 @@ void wxComboBox::SetLayoutDirection(wxLayoutDirection dir)
|
||||
{
|
||||
wxUpdateLayoutDirection(info.hwndList, dir);
|
||||
}
|
||||
#endif // !__WXWINCE__
|
||||
|
||||
wxChoice::SetLayoutDirection(dir);
|
||||
}
|
||||
|
Reference in New Issue
Block a user