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:
@@ -71,6 +71,7 @@ public:
|
|||||||
|
|
||||||
// what kind of menu item we are
|
// what kind of menu item we are
|
||||||
wxItemKind GetKind() const { return m_kind; }
|
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; }
|
virtual void SetCheckable(bool checkable) { m_kind = checkable ? wxITEM_CHECK : wxITEM_NORMAL; }
|
||||||
bool IsCheckable() const
|
bool IsCheckable() const
|
||||||
|
Reference in New Issue
Block a user