From 1d37e644007e676b82e75426daa1d5118bb76780 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Sun, 18 Jul 1999 18:12:11 +0000 Subject: [PATCH] more reasonable default size git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/choicdlg.cpp | 4 ++-- src/gtk1/choicdlg.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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) -- 2.47.2