X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1260bfc7d001721aac4e505623a9224793b8d1f..ab0d42f76d5594bd28fdcad35bedeb380902f3ea:/include/wx/mac/window.h 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 ;