X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0ab6adfedf92aa4457821422e77c19b80f10bee..d7eee191c55687785a2be927fd387d10514cdf1b:/include/wx/motif/menu.h 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); }