X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6236b8b477e113922c63db0c1413150bb1986ebf..de536319f16406adf967003637b2655c61f6cb09:/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);