Don't set value unnecessarily in wxSpinCtrl::Create() in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Mar 2012 00:29:51 +0000 (00:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Mar 2012 00:29:51 +0000 (00:29 +0000)
commita02b2a9d31b9ebc9cb13e0ea744169bc355e2ea0
tree7d0c0b87068e580b81a16daf8049a36d84edb82c
parentbcdeea5a5b347dd2de201ca5f8c7b1f17e2b1034
Don't set value unnecessarily in wxSpinCtrl::Create() in wxMSW.

This is not only unnecessary but also results in an unexpected event (which
could be avoided by using ChangeValue() but why bother calling it at all if we
don't need to).

Closes #13589.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/spinctrl.cpp