X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9ab621ea2513f623f3f7c1699648f189e37be3f..dcb39c53303d1ec6884f7bcd7bc9dc101e560e62:/utils/configtool/src/settingsdialog.cpp diff --git a/utils/configtool/src/settingsdialog.cpp b/utils/configtool/src/settingsdialog.cpp index a01dc52bd9..d79eb0a0ae 100644 --- a/utils/configtool/src/settingsdialog.cpp +++ b/utils/configtool/src/settingsdialog.cpp @@ -27,6 +27,9 @@ #include "wx/scrolwin.h" #include "wx/spinctrl.h" #include "wx/spinbutt.h" +#include "wx/sizer.h" +#include "wx/statbox.h" +#include "wx/dirdlg.h" #endif @@ -98,14 +101,14 @@ void ctSettingsDialog::CreateControls() item21->Add(5, 5, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxButton* item23 = new wxButton(item1, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0); + wxButton* item23 = new wxButton(item1, wxID_OK); item23->SetDefault(); item21->Add(item23, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxButton* item24 = new wxButton(item1, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0); + wxButton* item24 = new wxButton(item1, wxID_CANCEL); item21->Add(item24, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxButton* item25 = new wxButton(item1, wxID_HELP, _("&Help"), wxDefaultPosition, wxDefaultSize, 0); + wxButton* item25 = new wxButton(item1, wxID_HELP); item21->Add(item25, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); #if defined(__WXGTK__) || defined(__WXMAC__) @@ -163,7 +166,7 @@ void ctSettingsDialog::OnHelp( wxCommandEvent& WXUNUSED(event) ) helpTopic = wxT("Location settings dialog"); } - if (!helpTopic.IsEmpty()) + if (!helpTopic.empty()) { wxGetApp().GetHelpController().DisplaySection(helpTopic); }