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:
parent
4a0253b82b
commit
fdb7dadb6e
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user