Specification of Preferences menu item simplified

This commit is contained in:
Paul Licameli 2021-02-07 11:40:26 -05:00
parent 51b237a454
commit 5c80f6f19f
1 changed files with 4 additions and 5 deletions

View File

@ -1118,14 +1118,13 @@ BaseItemSharedPtr EditMenu()
//////////////////////////////////////////////////////////////////////////
#ifndef __WXMAC__
),
// Note that on Mac, the Preferences menu item is specially handled in
// CommandManager (assigned a special wxWidgets id) so that it does
// not appear in the Edit menu but instead under Audacity, consistent with
// MacOS conventions.
Section( "Preferences",
#else
,
#endif
Command( wxT("Preferences"), XXO("Pre&ferences..."), FN(OnPreferences),
AudioIONotBusyFlag(), prefKey )
)