]> git.saurik.com Git - wxWidgets.git/commitdiff
more reasonable default size
authorKarsten Ballüder <ballueder@usa.net>
Sun, 18 Jul 1999 18:12:11 +0000 (18:12 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Sun, 18 Jul 1999 18:12:11 +0000 (18:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/choicdlg.cpp
src/gtk1/choicdlg.cpp

index fe1352d0a500cd728149ba9908881d95813d8aa8..b9d9c5b24c1c23fa062ca68807389a9dde4d66f1 100644 (file)
@@ -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)
index fe1352d0a500cd728149ba9908881d95813d8aa8..b9d9c5b24c1c23fa062ca68807389a9dde4d66f1 100644 (file)
@@ -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)