X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/36043052e8e74ff1012cd788b8204130ed0a5137..c33c11fa1d2a0c4999e04386e04ac96cd350e853:/src/msw/choice.cpp diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index 67feff0512..8fc25f779d 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -153,7 +153,7 @@ bool wxChoice::CreateAndInit(wxWindow *parent, } // and now we may finally size the control properly (if needed) - SetBestSize(size); + SetInitialSize(size); return true; }