X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6236b8b477e113922c63db0c1413150bb1986ebf..69659fd770f615210efac4b4fa741b3ad6223616:/src/univ/spinbutt.cpp 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);