]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/scoredg.cpp
Publisher is now able to parse a dotted notation string
[wxWidgets.git] / demos / forty / scoredg.cpp
index 79fc942fa84347230364f2ecc25a0133e31ea2f0..d8344f3eb0fe913844d8ab09d15fa9c49b218db6 100644 (file)
@@ -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();