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:
parent
a51dff7380
commit
c6a2657789
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user