]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/playerdg.cpp
Update files.bkl to match the changes Stefan made to Makefile.in earlier, to update...
[wxWidgets.git] / demos / forty / playerdg.cpp
index 1454290692aebca0b771d7a04fef414150d5278f..8a6462319132ba9483111d6e4faee1f83539e2a5 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"
 
@@ -49,7 +44,7 @@ PlayerSelectionDialog::PlayerSelectionDialog(
 
     wxListBox* list = new wxListBox(
                         this, ID_LISTBOX,
-                        wxDefaultPosition, wxDefaultSize,
+                        wxDefaultPosition, wxSize(-1, 150),
                         0, 0,
                         wxLB_SINGLE
                         );
@@ -81,6 +76,8 @@ PlayerSelectionDialog::PlayerSelectionDialog(
     topsizer->SetSizeHints( this );
 
     CentreOnParent();
+
+    m_OK->SetDefault();
 }
 
 void PlayerSelectionDialog::OnSize(wxSizeEvent& WXUNUSED(event))