SettingsDialog::SettingsDialog(wxWindow* win)
{
- SetExtraStyle(wxDIALOG_EX_CONTEXTHELP);
-
- Create(win, -1, _("Preferences"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
+ SetExtraStyle(wxDIALOG_EX_CONTEXTHELP|wxWS_EX_VALIDATE_RECURSIVELY);
+
+ Create(win, -1, _("Preferences"), wxDefaultPosition, wxDefaultSize,
+ wxDEFAULT_DIALOG_STYLE
+#ifndef __WXWINCE__
+ |wxRESIZE_BORDER
+#endif
+ );
CreateButtons(wxOK|wxCANCEL|wxHELP);
wxBookCtrlBase* notebook = GetBookCtrl();
#endif
topSizer->Add( item0, 1, wxGROW|wxALIGN_CENTRE|wxALL, 5 );
+ topSizer->AddSpacer(5);
panel->SetSizer(topSizer);
topSizer->Fit(panel);