add support for wxApp::s_macExitMenuItemId