]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/menu.h
Chnaged includes to work without precompiled headers
[wxWidgets.git] / include / wx / gtk1 / menu.h
index fa6580f0abeb6a9ecd74a720dd97933b039e3413..caa919c05d43386145464a878efcc46b75802cff 100644 (file)
@@ -83,6 +83,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);
     }