1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 06:01:13 +02:00

Flags argument of AddItem (and AddCommand) is obligatory

This commit is contained in:
Paul Licameli
2018-10-17 16:07:51 -04:00
parent d46f3a9e63
commit db997f8ecd
2 changed files with 87 additions and 44 deletions

View File

@@ -199,7 +199,7 @@ class AUDACITY_DLL_API CommandManager final : public XMLTagHandler
bool hasDialog,
CommandHandlerFinder finder,
CommandFunctorPointer callback,
CommandFlag flags = NoFlagsSpecified,
CommandFlag flags,
const Options &options = {});
void AddSeparator();
@@ -210,14 +210,14 @@ class AUDACITY_DLL_API CommandManager final : public XMLTagHandler
const wxChar *label,
CommandHandlerFinder finder,
CommandFunctorPointer callback,
CommandFlag flags = NoFlagsSpecified);
CommandFlag flags);
void AddCommand(const wxChar *name,
const wxChar *label,
CommandHandlerFinder finder,
CommandFunctorPointer callback,
const wxChar *accel,
CommandFlag flags = NoFlagsSpecified);
CommandFlag flags);
void AddGlobalCommand(const wxChar *name,
const wxChar *label,