Make IsCheckable true by default and switch to explicitly disallowing it

Also add a new accessor to wxAuiToolBarItem to make it easier to
determine when a tool can be checked.
This commit is contained in:
Ian McInerney
2020-08-21 23:15:38 +01:00
parent 65e124bb64
commit afbb334a26
10 changed files with 28 additions and 17 deletions

View File

@@ -407,6 +407,13 @@ public:
*/
int GetAlignment() const;
/**
Returns whether the toolbar item can be toggled.
@since 3.1.5
*/
bool CanBeToggled() const;
};
/**