X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3603e5658fbd0693f71bbe62ed0239b4f96fd4e0..6f41c10973643552837c6bd38b23779e65a2eaa3:/include/wx/ribbon/bar.h diff --git a/include/wx/ribbon/bar.h b/include/wx/ribbon/bar.h index 4b26f6e428..99d0ef50d0 100644 --- a/include/wx/ribbon/bar.h +++ b/include/wx/ribbon/bar.h @@ -36,7 +36,7 @@ enum wxRibbonBarOption wxRIBBON_BAR_FOLDBAR_STYLE = wxRIBBON_BAR_FLOW_VERTICAL | wxRIBBON_BAR_SHOW_PAGE_ICONS | wxRIBBON_BAR_SHOW_PANEL_EXT_BUTTONS - | wxRIBBON_BAR_SHOW_PANEL_MINIMISE_BUTTONS, + | wxRIBBON_BAR_SHOW_PANEL_MINIMISE_BUTTONS }; class WXDLLIMPEXP_RIBBON wxRibbonBarEvent : public wxNotifyEvent @@ -113,8 +113,12 @@ public: bool SetActivePage(wxRibbonPage* page); int GetActivePage() const; wxRibbonPage* GetPage(int n); + size_t GetPageCount() const; bool DismissExpandedPanel(); + void DeletePage(size_t n); + void ClearPages(); + void ShowPanels(bool show = true); void HidePanels() { ShowPanels(false); } bool ArePanelsShown() const { return m_arePanelsShown; }