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