From 7e2b786046f1efbae3778cf64c2fa18d8d553686 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 29 May 2006 12:12:23 +0000 Subject: [PATCH] override all Detach() overloads in wxStaticBoxSizer to avoid virtual function hiding warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/sizer.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/wx/sizer.h b/include/wx/sizer.h index e815822be2..62b49e6815 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -695,7 +695,10 @@ public: // override to hide/show the static box as well virtual void ShowItems (bool show); + virtual bool Detach( wxWindow *window ); + virtual bool Detach( wxSizer *sizer ) { return wxBoxSizer::Detach(sizer); } + virtual bool Detach( int index ) { return wxBoxSizer::Detach(index); } protected: wxStaticBox *m_staticBox; -- 2.45.2