]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/menu.cpp
fixed crash under GTK+ 2.0
[wxWidgets.git] / src / univ / menu.cpp
index 3063fa8106583231c83aefa72f59715d03e1ed56..2f30a0a6d8fde2bb115fb2dbc1ccae23a4c83ee4 100644 (file)
@@ -1420,10 +1420,10 @@ wxMenuItem *wxMenuItemBase::New(wxMenu *parentMenu,
                                 int id,
                                 const wxString& name,
                                 const wxString& help,
-                                bool isCheckable,
+                                wxItemKind kind,
                                 wxMenu *subMenu)
 {
-    return new wxMenuItem(parentMenu, id, name, help, isCheckable, subMenu);
+    return new wxMenuItem(parentMenu, id, name, help, kind, subMenu);
 }
 
 /* static */