- p_menu->Append(id, GetText(_T("label")),
- GetText(_T("help")), checkable);
- if (id != -1)
- {
- p_menu->Enable(id, GetBool(_T("enabled"), TRUE));
- if (checkable) p_menu->Check(id, GetBool(_T("checked")));
-
+ wxMenuItem *mitem = new wxMenuItem(p_menu, id, GetText(_T("label")),
+ GetText(_T("help")), checkable);
+