X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..157a8f700278715161c66a418124459a6dc501dc:/demos/forty/playerdg.cpp diff --git a/demos/forty/playerdg.cpp b/demos/forty/playerdg.cpp index 33af2b8953..8a64623191 100644 --- a/demos/forty/playerdg.cpp +++ b/demos/forty/playerdg.cpp @@ -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))