X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e8dba5e29eba7ac5e53fa4035e65ceeaeed3884..528a5e8f92e938407ee2c33b29e519af064e6608:/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; }