Fixed player dialog listbox size and app icon on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user