X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3894f30e0142638170f3c1da2c4fcb1b60719ea..4542739ccb3b2ad47afc66b7a3182568a182b71f:/src/univ/listbox.cpp 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);