- new wxRibbonPage(m_ribbon, wxID_ANY, wxT("Another Page"), empty_xpm);
+ {
+ wxRibbonPage* page = new wxRibbonPage(m_ribbon, wxID_ANY, wxT("Another Page"), empty_xpm);
+ wxRibbonPanel *panel = new wxRibbonPanel(page, wxID_ANY, wxT("Page manipulation"), ribbon_xpm);
+ wxRibbonButtonBar *bar = new wxRibbonButtonBar(panel, wxID_ANY);
+ bar->AddButton(ID_REMOVE_PAGE, wxT("Remove"), wxArtProvider::GetBitmap(wxART_DELETE, wxART_OTHER, wxSize(24, 24)));
+ bar->AddButton(ID_HIDE_PAGES, wxT("Hide Pages"), ribbon_xpm);
+ bar->AddButton(ID_SHOW_PAGES, wxT("Show Pages"), ribbon_xpm);
+ }
+ new wxRibbonPage(m_ribbon, wxID_ANY, wxT("Highlight Page"), empty_xpm);
+ m_ribbon->AddPageHighlight(m_ribbon->GetPageCount()-1);