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:
@@ -407,6 +407,13 @@ public:
|
||||
|
||||
*/
|
||||
int GetAlignment() const;
|
||||
|
||||
/**
|
||||
Returns whether the toolbar item can be toggled.
|
||||
|
||||
@since 3.1.5
|
||||
*/
|
||||
bool CanBeToggled() const;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user