Add SetKind accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
093475d267
commit
d36d8dd7d2
@ -71,6 +71,7 @@ public:
|
||||
|
||||
// what kind of menu item we are
|
||||
wxItemKind GetKind() const { return m_kind; }
|
||||
void SetKind(wxItemKind kind) { m_kind = kind; }
|
||||
|
||||
virtual void SetCheckable(bool checkable) { m_kind = checkable ? wxITEM_CHECK : wxITEM_NORMAL; }
|
||||
bool IsCheckable() const
|
||||
|
Loading…
Reference in New Issue
Block a user