Add SetKind accessor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-04-22 22:08:09 +00:00
parent a51dff7380
commit c6a2657789

View File

@ -292,7 +292,7 @@ public:
class wxMenuItem : public wxObject { class wxMenuItem : public wxObject {
public: public:
wxMenuItem(wxMenu* parentMenu=NULL, int id=wxID_SEPARATOR, wxMenuItem(wxMenu* parentMenu=NULL, int id=wxID_ANY,
const wxString& text = wxPyEmptyString, const wxString& text = wxPyEmptyString,
const wxString& help = wxPyEmptyString, const wxString& help = wxPyEmptyString,
wxItemKind kind = wxITEM_NORMAL, wxItemKind kind = wxITEM_NORMAL,
@ -322,6 +322,7 @@ public:
// what kind of menu item we are // what kind of menu item we are
wxItemKind GetKind() const; wxItemKind GetKind() const;
void SetKind(wxItemKind kind);
virtual void SetCheckable(bool checkable); virtual void SetCheckable(bool checkable);
bool IsCheckable() const; bool IsCheckable() const;