X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e93ca17294b6da0d8cf63bffb0017cdfa0013df..7a47e45eccd9d709ca782ce01b2c32a18ecd3664:/include/wx/menuitem.h 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