- bool checkable = GetBool(_T("checkable"));
-
- 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")));
-
+ bool checkable = GetBool(wxT("checkable"));
+
+ wxMenuItem *mitem = new wxMenuItem(p_menu, id, GetText(wxT("label")),
+ GetText(wxT("help")), checkable);
+