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:
parent
45bccbe5f5
commit
debf96028e
@ -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("...")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user