]> git.saurik.com Git - wxWidgets.git/commit - src/msw/spinctrl.cpp
Reposition wxSpinCtrl correctly after reparenting it in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 31 Oct 2010 11:37:31 +0000 (11:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 31 Oct 2010 11:37:31 +0000 (11:37 +0000)
commit03263ff73bf778298bbbb07a0b544f622784befc
tree979b7261db8c2260249d1ba15eaaf3d0f86c0bbb
parentbc73fe96a2ba3e72338de7579f4b27c9f11a2fc3
Reposition wxSpinCtrl correctly after reparenting it in wxMSW.

The position of wxSpinCtrl after reparenting was wrong because we didn't
remember the old position early enough.

There also was a more minor bug which resulted in the position not being set
correctly if (any of its components) was -1 before reparenting.

Closes #12633.

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