mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
Use IdentInterfaceSymbol in old-style commands...
... Give each a translatable name, but don't use it anywhere yet, use the CamelCase name
This commit is contained in:
@@ -80,7 +80,8 @@ OldStyleCommandType *CommandDirectory::LookUp(const wxString &cmdName) const
|
||||
void CommandDirectory::AddCommand(movable_ptr<OldStyleCommandType> &&type)
|
||||
{
|
||||
wxASSERT(type != NULL);
|
||||
wxString cmdName = type->GetName();
|
||||
// Internal string is shown but only in assertion message
|
||||
auto cmdName = type->GetName();
|
||||
wxASSERT_MSG(mCmdMap.find(cmdName) == mCmdMap.end()
|
||||
, wxT("A command named ") + cmdName
|
||||
+ wxT(" already exists."));
|
||||
|
Reference in New Issue
Block a user