X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6236b8b477e113922c63db0c1413150bb1986ebf..a43a9e5521440dbb28037646ed4a07125c8823a9:/src/univ/spinbutt.cpp?ds=sidebyside diff --git a/src/univ/spinbutt.cpp b/src/univ/spinbutt.cpp index c322345dee..e1d885795b 100644 --- a/src/univ/spinbutt.cpp +++ b/src/univ/spinbutt.cpp @@ -98,7 +98,7 @@ bool wxSpinButton::Create(wxWindow *parent, wxDefaultValidator, name) ) return false; - SetBestSize(size); + SetInitialSize(size); CreateInputHandler(wxINP_HANDLER_SPINBTN);