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:
@@ -80,7 +80,7 @@ public:
|
|||||||
// forward these functions to all subcontrols
|
// forward these functions to all subcontrols
|
||||||
virtual bool Enable(bool enable = true);
|
virtual bool Enable(bool enable = true);
|
||||||
virtual bool Show(bool show = true);
|
virtual bool Show(bool show = true);
|
||||||
virtual bool Reparent(wxWindow *newParent);
|
virtual bool Reparent(wxWindowBase *newParent);
|
||||||
|
|
||||||
// get the subcontrols
|
// get the subcontrols
|
||||||
wxTextCtrl *GetText() const { return m_textCtrl; }
|
wxTextCtrl *GetText() const { return m_textCtrl; }
|
||||||
|
@@ -306,7 +306,7 @@ bool wxSpinCtrlGenericBase::Show(bool show)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxSpinCtrlGenericBase::Reparent(wxWindow *newParent)
|
bool wxSpinCtrlGenericBase::Reparent(wxWindowBase *newParent)
|
||||||
{
|
{
|
||||||
if ( m_spinButton )
|
if ( m_spinButton )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user