add support for wxApp::s_macPreferencesMenuItemId