From: Robin Dunn Date: Thu, 22 Apr 2004 22:02:02 +0000 (+0000) Subject: Add SetKind accessor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d36d8dd7d259511d949fecf0f5c33b05322e5aab Add SetKind accessor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/menuitem.h b/include/wx/menuitem.h index f7f5cc3c72..e35a5372ad 100644 --- a/include/wx/menuitem.h +++ b/include/wx/menuitem.h @@ -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