]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/menu.h
Some cleanup.
[wxWidgets.git] / include / wx / msw / menu.h
index 25364af1be81a15cba3285c69a4510a55d2999f0..741b88aa6eac021a2c7e02c4c07c2412cc4a8579 100644 (file)
@@ -54,6 +54,8 @@ public:
     wxMenu(const wxString& title, const wxFunction func)
         : wxMenuBase(title)
     {
+        Init();
+
         Callback(func);
     }
 #endif // wxUSE_MENU_CALLBACK