Fix reparenting generic wxSpinCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 21 Jan 2012 17:03:52 +0000 (17:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 21 Jan 2012 17:03:52 +0000 (17:03 +0000)
commitc8fb50b7945492de005090f5f5b2bf9941a34071
tree76e8af357166c272b00bb3f9938504e17b7a602c
parent6e9d06080d4894c938a35459e9096931ac967db1
Fix reparenting generic wxSpinCtrl.

The existing Reparent() implementation was wrong as it reparented spin control
subwindows under the new parent but left the main window itself under the old
one. Fix this by just not overriding Reparent() at all, the inherited version
works just fine for this control.

Closes #13849.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/spinctlg.h
src/generic/spinctlg.cpp