wxMenu::Enable

void Enable(int id, Bool flag)

If flag is TRUE, enables the given menu item, else disables it (greys it).