Destroy correct HWND in wxMSW wxSpinCtrl::Reparent().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 31 Oct 2010 11:37:26 +0000 (11:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 31 Oct 2010 11:37:26 +0000 (11:37 +0000)
commitbc73fe96a2ba3e72338de7579f4b27c9f11a2fc3
treeafba38608959d53b19a7068d3d0dd5b93db1fac2
parent053e42428dea774eed402991a9b7bef2282c6aa4
Destroy correct HWND in wxMSW wxSpinCtrl::Reparent().

NULL HWND was passed to ::DestroyWindow() as wxWindow::UnsubclassWin() NULLed
it after unsubclassing.

See #12633.

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