correct the signature of the overriden Reparent()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-05-08 14:15:07 +00:00
parent 3e9db38eaf
commit 7f0cbaaa4a
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ public:
// forward these functions to all subcontrols
virtual bool Enable(bool enable = true);
virtual bool Show(bool show = true);
virtual bool Reparent(wxWindow *newParent);
virtual bool Reparent(wxWindowBase *newParent);
// get the subcontrols
wxTextCtrl *GetText() const { return m_textCtrl; }

View File

@ -306,7 +306,7 @@ bool wxSpinCtrlGenericBase::Show(bool show)
return true;
}
bool wxSpinCtrlGenericBase::Reparent(wxWindow *newParent)
bool wxSpinCtrlGenericBase::Reparent(wxWindowBase *newParent)
{
if ( m_spinButton )
{