]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/playerdg.cpp
update for bakefile 0.2.6
[wxWidgets.git] / demos / forty / playerdg.cpp
index 33af2b8953336da349da34abc3e011ed2df04125..8a6462319132ba9483111d6e4faee1f83539e2a5 100644 (file)
@@ -44,7 +44,7 @@ PlayerSelectionDialog::PlayerSelectionDialog(
 
     wxListBox* list = new wxListBox(
                         this, ID_LISTBOX,
-                        wxDefaultPosition, wxDefaultSize,
+                        wxDefaultPosition, wxSize(-1, 150),
                         0, 0,
                         wxLB_SINGLE
                         );
@@ -76,6 +76,8 @@ PlayerSelectionDialog::PlayerSelectionDialog(
     topsizer->SetSizeHints( this );
 
     CentreOnParent();
+
+    m_OK->SetDefault();
 }
 
 void PlayerSelectionDialog::OnSize(wxSizeEvent& WXUNUSED(event))