X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3894f30e0142638170f3c1da2c4fcb1b60719ea..9e1c7236e0a3a827553271f2ef624995b44db58c:/src/univ/listbox.cpp?ds=sidebyside diff --git a/src/univ/listbox.cpp b/src/univ/listbox.cpp index 0ad1318cf7..7aaa9953f3 100644 --- a/src/univ/listbox.cpp +++ b/src/univ/listbox.cpp @@ -196,7 +196,7 @@ bool wxListBox::Create(wxWindow *parent, Set(n, choices); - SetBestSize(size); + SetInitialSize(size); CreateInputHandler(wxINP_HANDLER_LISTBOX);