]> git.saurik.com Git - wxWidgets.git/commitdiff
Add SetKind accessor
authorRobin Dunn <robin@alldunn.com>
Thu, 22 Apr 2004 22:02:02 +0000 (22:02 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 22 Apr 2004 22:02:02 +0000 (22:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/menuitem.h

index f7f5cc3c7230c220b8a6070b2525753d73e043c7..e35a5372adc44cad16ef5d9cdb5b405ec161e2b7 100644 (file)
@@ -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