From: Karsten Ballüder Date: Sun, 18 Jul 1999 18:12:11 +0000 (+0000) Subject: more reasonable default size X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1d37e644007e676b82e75426daa1d5118bb76780?ds=inline more reasonable default size git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/choicdlg.cpp b/src/gtk/choicdlg.cpp index fe1352d0a5..b9d9c5b24c 100644 --- a/src/gtk/choicdlg.cpp +++ b/src/gtk/choicdlg.cpp @@ -248,9 +248,9 @@ bool wxSingleChoiceDialog::Create( wxWindow *WXUNUSED(parent), const wxString& m int y = message_size.y + 15; - int listbox_height = 100; + int listbox_height = 150; - wxListBox *listBox = new wxListBox( this, wxID_LISTBOX, wxPoint(10, y), wxSize(240, listbox_height), + wxListBox *listBox = new wxListBox( this, wxID_LISTBOX, wxPoint(10, y), wxSize(360, listbox_height), n, choices, wxLB_ALWAYS_SB ); listBox->SetSelection( m_selection ); if (clientData) diff --git a/src/gtk1/choicdlg.cpp b/src/gtk1/choicdlg.cpp index fe1352d0a5..b9d9c5b24c 100644 --- a/src/gtk1/choicdlg.cpp +++ b/src/gtk1/choicdlg.cpp @@ -248,9 +248,9 @@ bool wxSingleChoiceDialog::Create( wxWindow *WXUNUSED(parent), const wxString& m int y = message_size.y + 15; - int listbox_height = 100; + int listbox_height = 150; - wxListBox *listBox = new wxListBox( this, wxID_LISTBOX, wxPoint(10, y), wxSize(240, listbox_height), + wxListBox *listBox = new wxListBox( this, wxID_LISTBOX, wxPoint(10, y), wxSize(360, listbox_height), n, choices, wxLB_ALWAYS_SB ); listBox->SetSelection( m_selection ); if (clientData)