From 9761ab43386943ab53f1116d1e753a2eb5668261 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 4 Jan 2006 11:49:01 +0000 Subject: [PATCH] increase min size to make all scrollbar controls visible git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/listbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 715abf0db0..8d55c0f0ba 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -597,7 +597,7 @@ wxSize wxListBox::DoGetBestSize() const // don't make the listbox too tall (limit height to around 10 items) // but don't make it too small neither - lbHeight = (cy + 4) * wxMin( wxMax( GetCount(), 3 ), 10 ); + lbHeight = wxMax( (cy + 4) * wxMin( wxMax( GetCount(), 3 ), 10 ), 70 ); } return wxSize( lbWidth, lbHeight ); -- 2.45.2