X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b6d0f0c7a5aa57c9340e847135a6e3d6d9ccd7d4..cf9b63b38a7ed96d8a824256f1fb23565c0fb52a:/demos/forty/scoredg.cpp diff --git a/demos/forty/scoredg.cpp b/demos/forty/scoredg.cpp index 79fc942fa8..d8344f3eb0 100644 --- a/demos/forty/scoredg.cpp +++ b/demos/forty/scoredg.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -191,7 +186,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 +198,6 @@ ScoreDialog::ScoreDialog(wxWindow* parent, ScoreFile* file) : CentreOnParent(); } -ScoreDialog::~ScoreDialog() -{ -} - void ScoreDialog::Display() { ShowModal();