X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e60165f72ed20e09d0fcbe4a50227f79d529dbb8..a4301b8f14d21b7d28fc4f6a247b740d945ca6dc:/include/wx/sizer.h diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 7e01ff8ad9..29facff1e2 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -715,6 +715,10 @@ public: void Show(bool show) { ShowItems(show); } + // This is the ShowItems() counterpart and returns true if any of the sizer + // items are shown. + virtual bool AreAnyItemsShown() const; + protected: wxSize m_size; wxSize m_minSize; @@ -1033,6 +1037,7 @@ public: // override to hide/show the static box as well virtual void ShowItems (bool show); + virtual bool AreAnyItemsShown() const; virtual bool Detach( wxWindow *window ); virtual bool Detach( wxSizer *sizer ) { return wxBoxSizer::Detach(sizer); }