wxFrame::OnMenuSelect

void OnMenuSelect(int id)

Sent to the window when an item on the window's menu has been selected (i.e. the cursor is on the item, but the left button has not been released). Derive your own frame class to handle this message.

The default OnMenuSelect member puts the menu item help string on the status line, if a status line has been created.

This function is called under Windows 3 and Motif, but not XView.