compilation fix after wxPlatformInfo patch: use wxOS_WINDOWS_CE instead of wxWinPocketPC

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-08-19 22:17:08 +00:00
parent dda7d36fbf
commit 654ffe9f19

View File

@ -1460,22 +1460,13 @@ SettingsDialog::SettingsDialog(wxWindow* win, int dialogType)
m_imageList = NULL; m_imageList = NULL;
Create(win, wxID_ANY, _("Preferences"), wxDefaultPosition, wxDefaultSize, Create(win, wxID_ANY, _("Preferences"), wxDefaultPosition, wxDefaultSize,
wxDEFAULT_DIALOG_STYLE| (int)wxPlatform::IfNot(wxWinCE, resizeBorder) wxDEFAULT_DIALOG_STYLE| (int)wxPlatform::IfNot(wxOS_WINDOWS_CE, resizeBorder)
/*
#ifndef __WXWINCE__
|resizeBorder
#endif
*/
); );
// If using a toolbook, also follow Mac style and don't create buttons // If using a toolbook, also follow Mac style and don't create buttons
if (!useToolBook) if (!useToolBook)
CreateButtons(wxOK|wxCANCEL| (int)wxPlatform::IfNot(wxWinPocketPC, wxHELP) CreateButtons(wxOK | wxCANCEL |
/* (int)wxPlatform::IfNot(wxOS_WINDOWS_CE, wxHELP)
#ifndef __POCKETPC__
|wxHELP
#endif
*/
); );
wxBookCtrlBase* notebook = GetBookCtrl(); wxBookCtrlBase* notebook = GetBookCtrl();