param type of wxWindow::Reparent() fixed in wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-09-29 17:35:52 +00:00
parent 4a0253b82b
commit fdb7dadb6e
4 changed files with 8 additions and 6 deletions

View File

@ -62,7 +62,7 @@ public:
virtual void SetFocus();
virtual bool AcceptsFocus() const;
virtual bool Reparent( wxWindow *newParent );
virtual bool Reparent( wxWindowBase *newParent );
virtual void WarpPointer(int x, int y);
virtual void CaptureMouse();

View File

@ -62,7 +62,7 @@ public:
virtual void SetFocus();
virtual bool AcceptsFocus() const;
virtual bool Reparent( wxWindow *newParent );
virtual bool Reparent( wxWindowBase *newParent );
virtual void WarpPointer(int x, int y);
virtual void CaptureMouse();

View File

@ -2554,11 +2554,12 @@ bool wxWindow::AcceptsFocus() const
return m_acceptsFocus && wxWindowBase::AcceptsFocus();
}
bool wxWindow::Reparent( wxWindow *newParent )
bool wxWindow::Reparent( wxWindowBase *newParentBase )
{
wxCHECK_MSG( (m_widget != NULL), FALSE, _T("invalid window") );
wxWindow *oldParent = m_parent;
wxWindow *oldParent = m_parent,
*newParent = (wxWindow *)newParentBase;
if ( !wxWindowBase::Reparent(newParent) )
return FALSE;

View File

@ -2554,11 +2554,12 @@ bool wxWindow::AcceptsFocus() const
return m_acceptsFocus && wxWindowBase::AcceptsFocus();
}
bool wxWindow::Reparent( wxWindow *newParent )
bool wxWindow::Reparent( wxWindowBase *newParentBase )
{
wxCHECK_MSG( (m_widget != NULL), FALSE, _T("invalid window") );
wxWindow *oldParent = m_parent;
wxWindow *oldParent = m_parent,
*newParent = (wxWindow *)newParentBase;
if ( !wxWindowBase::Reparent(newParent) )
return FALSE;