X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad0023978e7a61369f3180241f217df283308388..83e8b44cc0bf8a2a8f162c67162f9ed68accd15f:/src/mac/carbon/listbox.cpp diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 69027b5391..1a50bd9dc7 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -89,7 +89,7 @@ bool wxListBox::Create( InsertItems( n, choices, 0 ); // Needed because it is a wxControlWithItems - SetBestSize( size ); + SetInitialSize( size ); return true; }