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:
@@ -28,7 +28,7 @@ class AdornedRulerPanel;
|
||||
class AudacityProject;
|
||||
class CommandContext;
|
||||
|
||||
#define SCREENSHOT_PLUGIN_SYMBOL XO("Screenshot")
|
||||
#define SCREENSHOT_PLUGIN_SYMBOL IdentInterfaceSymbol{ XO("Screenshot") }
|
||||
|
||||
class ScreenshotCommand : public AudacityCommand
|
||||
{
|
||||
@@ -80,7 +80,7 @@ public:
|
||||
|
||||
ScreenshotCommand(){ mbBringToTop=true;};
|
||||
// CommandDefinitionInterface overrides
|
||||
wxString GetSymbol() override {return SCREENSHOT_PLUGIN_SYMBOL;};
|
||||
IdentInterfaceSymbol GetSymbol() override {return SCREENSHOT_PLUGIN_SYMBOL;};
|
||||
wxString GetDescription() override {return _("Takes screenshots.");};
|
||||
bool DefineParams( ShuttleParams & S ) override;
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
Reference in New Issue
Block a user