]> git.saurik.com Git - wxWidgets.git/commitdiff
override all Detach() overloads in wxStaticBoxSizer to avoid virtual function hiding...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 May 2006 12:12:23 +0000 (12:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 May 2006 12:12:23 +0000 (12:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/sizer.h

index e815822be2962693813d8b4983f575525ab534c0..62b49e681561fff90ff23de195ea30772c4540a7 100644 (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;