]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/playerdg.cpp
compilation fix for WXWIN_COMPATIBILITY_2_2 (bug 1252476)
[wxWidgets.git] / demos / forty / playerdg.cpp
index e37200e70cac6065449dadef250f5ecc5a0b7126..1454290692aebca0b771d7a04fef414150d5278f 100644 (file)
@@ -63,8 +63,8 @@ PlayerSelectionDialog::PlayerSelectionDialog(
 
     m_textField = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize);
 
-    m_OK = new wxButton(this, wxID_OK, _T("OK"));
-    m_cancel = new wxButton(this, wxID_CANCEL, _T("Cancel"));
+    m_OK = new wxButton(this, wxID_OK);
+    m_cancel = new wxButton(this, wxID_CANCEL);
 
     wxBoxSizer *button_sizer = new wxBoxSizer( wxHORIZONTAL );
     button_sizer->Add( m_OK, 0, wxALL, 10 );
@@ -83,10 +83,6 @@ PlayerSelectionDialog::PlayerSelectionDialog(
     CentreOnParent();
 }
 
-PlayerSelectionDialog::~PlayerSelectionDialog()
-{
-}
-
 void PlayerSelectionDialog::OnSize(wxSizeEvent& WXUNUSED(event))
 {
     Layout();