X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0ab6adfedf92aa4457821422e77c19b80f10bee..77436c4cbac2269e564dc4fcf4494a58feca0af4:/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); }