1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-02 17:23:18 +02:00

Provide missing piece of menu refactor, commit 9481587

This commit is contained in:
Paul Licameli 2018-09-29 13:48:56 -04:00
parent 45bccbe5f5
commit debf96028e

View File

@ -333,9 +333,10 @@ void MenuCommandHandler::UpdatePrefs()
/// affect the short-cut key legend that appears beside each command,
// To supply the "finder" argument in AddItem calls
static CommandHandlerObject &ident(AudacityProject &project) { return project; }
static CommandHandlerObject &findMenuCommandHandler(AudacityProject &project)
{ return GetMenuCommandHandler( project ); }
#define FN(X) ident, \
#define FN(X) findMenuCommandHandler, \
static_cast<CommandFunctorPointer>(& MenuCommandHandler :: X)
#define XXO(X) _(X), wxString{X}.Contains("...")