X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a21ac1590f2950cdbbe1b423d072f4226c37741..ec02a2f7de3d6f4e11c4dd72bf69c33fcc49ba84:/demos/forty/playerdg.cpp diff --git a/demos/forty/playerdg.cpp b/demos/forty/playerdg.cpp index e37200e70c..33af2b8953 100644 --- a/demos/forty/playerdg.cpp +++ b/demos/forty/playerdg.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -63,8 +58,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 +78,6 @@ PlayerSelectionDialog::PlayerSelectionDialog( CentreOnParent(); } -PlayerSelectionDialog::~PlayerSelectionDialog() -{ -} - void PlayerSelectionDialog::OnSize(wxSizeEvent& WXUNUSED(event)) { Layout();