From 7a903311aa9d7bfce5255f7478d11dbea9b440b3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 1 Oct 1999 18:31:57 +0000 Subject: [PATCH] virtual functionsignature corrected git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/mdi.h | 2 +- include/wx/gtk1/mdi.h | 2 +- src/gtk/mdi.cpp | 4 ++-- src/gtk1/mdi.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/wx/gtk/mdi.h b/include/wx/gtk/mdi.h index f2a3f7367a..0613d4c81e 100644 --- a/include/wx/gtk/mdi.h +++ b/include/wx/gtk/mdi.h @@ -115,7 +115,7 @@ class wxMDIChildFrame: public wxFrame virtual wxMenuBar *GetMenuBar() const; virtual void GetClientSize( int *width, int *height ) const; - virtual void AddChild( wxWindow *child ); + virtual void AddChild( wxWindowBase *child ); virtual void Activate(); diff --git a/include/wx/gtk1/mdi.h b/include/wx/gtk1/mdi.h index f2a3f7367a..0613d4c81e 100644 --- a/include/wx/gtk1/mdi.h +++ b/include/wx/gtk1/mdi.h @@ -115,7 +115,7 @@ class wxMDIChildFrame: public wxFrame virtual wxMenuBar *GetMenuBar() const; virtual void GetClientSize( int *width, int *height ) const; - virtual void AddChild( wxWindow *child ); + virtual void AddChild( wxWindowBase *child ); virtual void Activate(); diff --git a/src/gtk/mdi.cpp b/src/gtk/mdi.cpp index ab91caff85..1be26bfcd7 100644 --- a/src/gtk/mdi.cpp +++ b/src/gtk/mdi.cpp @@ -312,9 +312,9 @@ void wxMDIChildFrame::GetClientSize( int *width, int *height ) const wxWindow::GetClientSize( width, height ); } -void wxMDIChildFrame::AddChild( wxWindow *child ) +void wxMDIChildFrame::AddChild( wxWindowBase *child ) { - wxWindow::AddChild( child ); + wxWindow::AddChild(child); } void wxMDIChildFrame::SetMenuBar( wxMenuBar *menu_bar ) diff --git a/src/gtk1/mdi.cpp b/src/gtk1/mdi.cpp index ab91caff85..1be26bfcd7 100644 --- a/src/gtk1/mdi.cpp +++ b/src/gtk1/mdi.cpp @@ -312,9 +312,9 @@ void wxMDIChildFrame::GetClientSize( int *width, int *height ) const wxWindow::GetClientSize( width, height ); } -void wxMDIChildFrame::AddChild( wxWindow *child ) +void wxMDIChildFrame::AddChild( wxWindowBase *child ) { - wxWindow::AddChild( child ); + wxWindow::AddChild(child); } void wxMDIChildFrame::SetMenuBar( wxMenuBar *menu_bar ) -- 2.45.2