From c6a2657789bc8259c538f405362d9ff498e92559 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 22 Apr 2004 22:08:09 +0000 Subject: [PATCH] Add SetKind accessor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_menu.i | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wxPython/src/_menu.i b/wxPython/src/_menu.i index 02dc200a3c..af7a940d08 100644 --- a/wxPython/src/_menu.i +++ b/wxPython/src/_menu.i @@ -292,7 +292,7 @@ public: class wxMenuItem : public wxObject { public: - wxMenuItem(wxMenu* parentMenu=NULL, int id=wxID_SEPARATOR, + wxMenuItem(wxMenu* parentMenu=NULL, int id=wxID_ANY, const wxString& text = wxPyEmptyString, const wxString& help = wxPyEmptyString, wxItemKind kind = wxITEM_NORMAL, @@ -322,6 +322,7 @@ public: // what kind of menu item we are wxItemKind GetKind() const; + void SetKind(wxItemKind kind); virtual void SetCheckable(bool checkable); bool IsCheckable() const;