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
This commit is contained in:
Vadim Zeitlin
2006-05-29 12:12:23 +00:00
parent f7b06c8ce1
commit 7e2b786046

View File

@@ -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;