X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e64df9bcc331d49d05a6dc7729ee08071e4c6408..92f1a59c288e0e181d2998a93220a73b89f675df:/include/wx/menuitem.h?ds=inline diff --git a/include/wx/menuitem.h b/include/wx/menuitem.h index 48e98922be..f7f5cc3c72 100644 --- a/include/wx/menuitem.h +++ b/include/wx/menuitem.h @@ -49,6 +49,7 @@ public: // the menu we're in wxMenu *GetMenu() const { return m_parentMenu; } + void SetMenu(wxMenu* menu) { m_parentMenu = menu; } // get/set id void SetId(int itemid) { m_id = itemid; }