1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 22:12:58 +02:00

Use IdentInterfaceSymbol to identify commands and effects

This commit is contained in:
Paul Licameli
2018-03-09 13:11:20 -05:00
parent 11d217076a
commit b200819f75
116 changed files with 239 additions and 332 deletions

View File

@@ -81,7 +81,7 @@ void CommandDirectory::AddCommand(movable_ptr<OldStyleCommandType> &&type)
{
wxASSERT(type != NULL);
// Internal string is shown but only in assertion message
auto cmdName = type->GetName();
auto cmdName = type->GetSymbol().Internal();
wxASSERT_MSG(mCmdMap.find(cmdName) == mCmdMap.end()
, wxT("A command named ") + cmdName
+ wxT(" already exists."));