Add help button support to wxRibbonBar.
Optionally show standard "Help" question mark button in the ribbon top right corner and generate the appropriate event for it. Closes #14576. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1091,4 +1091,9 @@ wxSize wxRibbonPage::DoGetBestSize() const
|
||||
return best;
|
||||
}
|
||||
|
||||
void wxRibbonPage::HideIfExpanded()
|
||||
{
|
||||
wxStaticCast(m_parent, wxRibbonBar)->HideIfExpanded();
|
||||
}
|
||||
|
||||
#endif // wxUSE_RIBBON
|
||||
|
Reference in New Issue
Block a user