diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index bdca3c2f0f..d6a012f9ca 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -1369,7 +1369,7 @@ 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); CreateButtons(wxOK|wxCANCEL|wxHELP); wxBookCtrlBase* notebook = GetBookCtrl();