correct the signature of the overriden Reparent()
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 May 2008 14:15:07 +0000 (14:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 May 2008 14:15:07 +0000 (14:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/spinctlg.h
src/generic/spinctlg.cpp

index 89a0501f0d53ae3bcca79328412f67c56dc84a6c..bdd0d4e55e9b0e9ee392b7472c874e863a8ec88f 100644 (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; }
index b80e54ddb3f37066b6d756a74753625b04f9a8f1..1235d9819c8bc25ebce2e632e2e10338ae62e765 100644 (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 )
     {