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:
Tobias Taschner
2015-08-27 17:48:54 +02:00
committed by Vadim Zeitlin
parent 6fbc2bd0b7
commit 8282c1be0f
388 changed files with 1109 additions and 19505 deletions

View File

@@ -121,10 +121,8 @@ protected:
void RecreateBook();
virtual wxBookCtrlBase *CreateBook(long flags) = 0;
#if USE_ICONS_IN_BOOK
// create or destroy the image list
void CreateImageList();
#endif // USE_ICONS_IN_BOOK
// create a new page
wxWindow *CreateNewPage();
@@ -155,10 +153,8 @@ protected:
wxBookCtrlBase *m_book;
wxSizer *m_sizerBook;
#if USE_ICONS_IN_BOOK
// the image list for our book
wxImageList *m_imageList;
#endif // USE_ICONS_IN_BOOK
private:
wxDECLARE_EVENT_TABLE();
@@ -196,9 +192,7 @@ BookWidgetsPage::BookWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist, c
{
// init everything
m_chkImages = NULL;
#if USE_ICONS_IN_BOOK
m_imageList = NULL;
#endif // USE_ICONS_IN_BOOK
m_book = NULL;
m_radioOrient = NULL;
@@ -289,18 +283,14 @@ void BookWidgetsPage::CreateContent()
// final initializations
Reset();
#if USE_ICONS_IN_BOOK
CreateImageList();
#endif // USE_ICONS_IN_BOOK
SetSizer(sizerTop);
}
BookWidgetsPage::~BookWidgetsPage()
{
#if USE_ICONS_IN_BOOK
delete m_imageList;
#endif // USE_ICONS_IN_BOOK
}
// ----------------------------------------------------------------------------
@@ -313,7 +303,6 @@ void BookWidgetsPage::Reset()
m_radioOrient->SetSelection(Orient_Top);
}
#if USE_ICONS_IN_BOOK
void BookWidgetsPage::CreateImageList()
{
if ( m_chkImages->GetValue() )
@@ -341,7 +330,6 @@ void BookWidgetsPage::CreateImageList()
// it would be logical if this removed the image list from book, under
// MSW it crashes instead - FIXME
}
#endif // USE_ICONS_IN_BOOK
void BookWidgetsPage::RecreateBook()
{
@@ -378,9 +366,7 @@ void BookWidgetsPage::RecreateBook()
m_book = CreateBook(flags);
#if USE_ICONS_IN_BOOK
CreateImageList();
#endif // USE_ICONS_IN_BOOK
if ( oldBook )
{
@@ -429,7 +415,6 @@ int BookWidgetsPage::GetTextValue(wxTextCtrl *text) const
int BookWidgetsPage::GetIconIndex() const
{
#if USE_ICONS_IN_BOOK
if ( m_imageList )
{
int nImages = m_imageList->GetImageCount();
@@ -438,7 +423,6 @@ int BookWidgetsPage::GetIconIndex() const
return m_book->GetPageCount() % nImages;
}
}
#endif // USE_ICONS_IN_BOOK
return -1;
}