wxMenuBar::Enable

void Enable(int id, Bool flag)

If flag is TRUE, enables the given menu item, else disables it (greys it). Only use this when the menu bar has been associated with a frame; otherwise, use the wxMenu equivalent call.