Add support for toggle buttons to wxRibbonButtonBar.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Peter Cawley
2010-11-07 13:44:22 +00:00
parent 258593354e
commit 955bad410e
7 changed files with 112 additions and 4 deletions

View File

@@ -174,6 +174,12 @@ enum wxRibbonButtonKind
menu, and one which causes a generic action.
*/
wxRIBBON_BUTTON_HYBRID = wxRIBBON_BUTTON_NORMAL | wxRIBBON_BUTTON_DROPDOWN,
/**
Normal button or tool with a clickable area which toggles the button
between a pressed and unpressed state.
*/
wxRIBBON_BUTTON_TOGGLE = 1 << 2
};
/**