]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/menu.h
Added possibility of 2-step initialisation, and wxWIZARD_EX_HELPBUTTON style.
[wxWidgets.git] / include / wx / motif / menu.h
index 8360a909cd89180f395fdab389e1af9acd25c1ef..c50ae7865331f4d1c0616259574b2bcdb2ae9437 100644 (file)
@@ -50,6 +50,8 @@ public:
     wxMenu(const wxString& title, const wxFunction func)
         : wxMenuBase(title)
     {
     wxMenu(const wxString& title, const wxFunction func)
         : wxMenuBase(title)
     {
+        Init();
+
         Callback(func);
     }
 
         Callback(func);
     }