X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e8dba5e29eba7ac5e53fa4035e65ceeaeed3884..a9fdf82418221608fca0259a586a7a6c13d133c8:/src/msw/spinbutt.cpp diff --git a/src/msw/spinbutt.cpp b/src/msw/spinbutt.cpp index b4b9cfb1e7..4858bae02d 100644 --- a/src/msw/spinbutt.cpp +++ b/src/msw/spinbutt.cpp @@ -195,7 +195,7 @@ bool wxSpinButton::Create(wxWindow *parent, SubclassWin(m_hWnd); - SetBestSize(size); + SetInitialSize(size); return true; }