X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1eba21938708bcd10ab13837b4ad51e44f783b40..af2799b7bbc4f52d43984049f7fe42a1fb1b968c:/include/wx/sizer.h diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 5f7738dce2..ce907346bb 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -313,7 +313,7 @@ public: bool IsShown( size_t index ) const; // Recursively call wxWindow::Show () on all sizer items. - void ShowItems (bool show); + virtual void ShowItems (bool show); protected: wxSize m_size; @@ -505,6 +505,9 @@ public: wxStaticBox *GetStaticBox() const { return m_staticBox; } + // override to hide/show the static box as well + virtual void ShowItems (bool show); + protected: wxStaticBox *m_staticBox;