X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b6d0f0c7a5aa57c9340e847135a6e3d6d9ccd7d4..efe854952aedce200e10116dc51b70ac1ec7fdb9:/demos/forty/scoredg.cpp?ds=sidebyside diff --git a/demos/forty/scoredg.cpp b/demos/forty/scoredg.cpp index 79fc942fa8..dce78ba2ab 100644 --- a/demos/forty/scoredg.cpp +++ b/demos/forty/scoredg.cpp @@ -191,7 +191,7 @@ ScoreDialog::ScoreDialog(wxWindow* parent, ScoreFile* file) : // locate and resize with sizers wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL ); topsizer->Add( list, 1, wxALL|wxGROW, 10 ); - wxButton *button = new wxButton(this, wxID_OK, _("OK")); + wxButton *button = new wxButton(this, wxID_OK); topsizer->Add( button, 0, wxALIGN_CENTER_HORIZONTAL|wxALL , 10 ); button->SetFocus(); @@ -203,10 +203,6 @@ ScoreDialog::ScoreDialog(wxWindow* parent, ScoreFile* file) : CentreOnParent(); } -ScoreDialog::~ScoreDialog() -{ -} - void ScoreDialog::Display() { ShowModal();