From 412633c4a5cd231e4ecc924eccadc2ab8d976ab5 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 11 Apr 2002 16:07:09 +0000 Subject: [PATCH] RemoveChild added for correct disposal of scrollbar git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/window.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/mac/window.h b/include/wx/mac/window.h index c5fb27507f..8ab6a1c366 100644 --- a/include/wx/mac/window.h +++ b/include/wx/mac/window.h @@ -210,7 +210,8 @@ public : virtual bool MacCanFocus() const { return true ; } virtual bool MacDispatchMouseEvent(wxMouseEvent& event ) ; - + // this should not be overriden in classes above wxWindowMac because it is called from its destructor via DeleteChildren + virtual void RemoveChild( wxWindowBase *child ); virtual void MacPaintBorders( int left , int top ) ; WXWindow MacGetRootWindow() const ; wxTopLevelWindowMac* MacGetTopLevelWindow() const ; -- 2.50.0