Remove the last remnants of Windows CE related code

Remove the last few bits of code supporting Windows CE.
This commit is contained in:
PB
2019-05-18 08:40:03 +02:00
parent f668f5b36f
commit 357108d3cd
3 changed files with 4 additions and 12 deletions

View File

@@ -3415,14 +3415,11 @@ SettingsDialog::SettingsDialog(wxWindow* win, SettingsData& settingsData, int di
m_imageList = NULL;
Create(win, wxID_ANY, "Preferences", wxDefaultPosition, wxDefaultSize,
wxDEFAULT_DIALOG_STYLE| (int)wxPlatform::IfNot(wxOS_WINDOWS_CE, resizeBorder)
);
wxDEFAULT_DIALOG_STYLE | resizeBorder);
// If using a toolbook, also follow Mac style and don't create buttons
if (!useToolBook)
CreateButtons(wxOK | wxCANCEL |
(int)wxPlatform::IfNot(wxOS_WINDOWS_CE, wxHELP)
);
CreateButtons(wxOK | wxCANCEL | wxHELP);
wxBookCtrlBase* notebook = GetBookCtrl();
notebook->SetImageList(m_imageList);