Add more stuff missing from the ribbon interface

This commit is contained in:
Robin Dunn
2016-06-28 17:11:37 -07:00
parent 95bff5496b
commit c1a1a13032
3 changed files with 350 additions and 1 deletions

View File

@@ -69,7 +69,12 @@ enum wxRibbonButtonBarButtonState
Only applicable to dropdown and hybrid buttons.
*/
wxRIBBON_BUTTONBAR_BUTTON_DROPDOWN_ACTIVE = 1 << 6,
/**
A mask to extract active flags
*/
wxRIBBON_BUTTONBAR_BUTTON_ACTIVE_MASK = wxRIBBON_BUTTONBAR_BUTTON_NORMAL_ACTIVE | wxRIBBON_BUTTONBAR_BUTTON_DROPDOWN_ACTIVE,
/**
The button is disabled. Hover flags may still be set when a button
is disabled, but should be ignored during drawing if the button is