wxMenuBar::Append

void Append(wxMenu *menu, char *title)

Adds the item to the end of the menu bar. Do not use menu after this call: it will be deallocated by wxWindows.