X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a65b84f43417c8d0d156d63ae12474b29d1a739c..bca6bd3823b9e2ca8200e2c0a4fa8d15bb1d5c9a:/include/wx/ribbon/bar.h diff --git a/include/wx/ribbon/bar.h b/include/wx/ribbon/bar.h index 08cf7c20e2..4b26f6e428 100644 --- a/include/wx/ribbon/bar.h +++ b/include/wx/ribbon/bar.h @@ -115,6 +115,10 @@ public: wxRibbonPage* GetPage(int n); bool DismissExpandedPanel(); + void ShowPanels(bool show = true); + void HidePanels() { ShowPanels(false); } + bool ArePanelsShown() const { return m_arePanelsShown; } + virtual bool HasMultiplePages() const { return true; } void SetWindowStyleFlag(long style); @@ -166,6 +170,7 @@ protected: int m_tab_scroll_left_button_state; int m_tab_scroll_right_button_state; bool m_tab_scroll_buttons_shown; + bool m_arePanelsShown; #ifndef SWIG DECLARE_CLASS(wxRibbonBar)