X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdd4e6cca80241785378714e59df3db3c23d4c9f..7e81aa035ccbe28af54822e40607779d57d1b004:/src/mac/carbon/listbox.cpp 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 );