git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33690
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
SettingsDialog::SettingsDialog(wxWindow* win)
{
SettingsDialog::SettingsDialog(wxWindow* win)
{
- SetExtraStyle(wxDIALOG_EX_CONTEXTHELP);
+ SetExtraStyle(wxDIALOG_EX_CONTEXTHELP|wxWS_EX_VALIDATE_RECURSIVELY);
Create(win, -1, _("Preferences"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
CreateButtons(wxOK|wxCANCEL|wxHELP);
Create(win, -1, _("Preferences"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
CreateButtons(wxOK|wxCANCEL|wxHELP);
#endif
topSizer->Add( item0, 1, wxGROW|wxALIGN_CENTRE|wxALL, 5 );
#endif
topSizer->Add( item0, 1, wxGROW|wxALIGN_CENTRE|wxALL, 5 );
+ topSizer->AddSpacer(5);
panel->SetSizer(topSizer);
topSizer->Fit(panel);
panel->SetSizer(topSizer);
topSizer->Fit(panel);