X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6dc7c02c0ed6e9d2adbf53a38caf6cf2cfb4bd4f..aadb4d67c86fcb5af00804dc6dfb718d82078b2e:/samples/dialogs/dialogs.cpp diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index d6a012f9ca..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); + Create(win, -1, _("Preferences"), wxDefaultPosition, wxDefaultSize, + wxDEFAULT_DIALOG_STYLE +#ifndef __WXWINCE__ + |wxRESIZE_BORDER +#endif + ); CreateButtons(wxOK|wxCANCEL|wxHELP); wxBookCtrlBase* notebook = GetBookCtrl();