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 );