]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/playerdg.cpp
Updated Watcom/OS2 makefiles.
[wxWidgets.git] / demos / forty / playerdg.cpp
index e37200e70cac6065449dadef250f5ecc5a0b7126..33af2b8953336da349da34abc3e011ed2df04125 100644 (file)
@@ -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();