Add page highlighting to wxRibbonBar.
Allow visually highlighting a page to make it more noticeable to the user. Closes #14527. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -401,6 +401,8 @@ MyFrame::MyFrame()
|
||||
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);
|
||||
|
||||
m_ribbon->Realize();
|
||||
|
||||
|
Reference in New Issue
Block a user