X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0f4991f4ec5f6c4c8dec1195eda9be4b46d93f84..aadb4d67c86fcb5af00804dc6dfb718d82078b2e:/samples/dialogs/dialogs.cpp?ds=sidebyside diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index bdca3c2f0f..b4e1d0128c 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -1369,7 +1369,12 @@ SettingsDialog::SettingsDialog(wxWindow* win) { SetExtraStyle(wxDIALOG_EX_CONTEXTHELP|wxWS_EX_VALIDATE_RECURSIVELY); - Create(win, -1, _("Preferences"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER); + Create(win, -1, _("Preferences"), wxDefaultPosition, wxDefaultSize, + wxDEFAULT_DIALOG_STYLE +#ifndef __WXWINCE__ + |wxRESIZE_BORDER +#endif + ); CreateButtons(wxOK|wxCANCEL|wxHELP); wxBookCtrlBase* notebook = GetBookCtrl();