X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0ab6adfedf92aa4457821422e77c19b80f10bee..dad5f99acb6b3400ff73562c03db2f3f21b658cd:/include/wx/motif/menu.h?ds=sidebyside diff --git a/include/wx/motif/menu.h b/include/wx/motif/menu.h index 8360a909cd..c50ae78653 100644 --- a/include/wx/motif/menu.h +++ b/include/wx/motif/menu.h @@ -50,6 +50,8 @@ public: wxMenu(const wxString& title, const wxFunction func) : wxMenuBase(title) { + Init(); + Callback(func); }