mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-20 09:31:15 +02:00
IdentInterfaceSymbol in NumericTextCtrl; don't persist translated
This commit is contained in:
@@ -59,6 +59,7 @@ typedef enum EffectType
|
||||
EffectTypeTool,
|
||||
} EffectType;
|
||||
|
||||
using NumericFormatId = IdentInterfaceSymbol;
|
||||
class ShuttleParams;
|
||||
|
||||
/*************************************************************************************//**
|
||||
@@ -149,7 +150,7 @@ public:
|
||||
|
||||
virtual double GetDefaultDuration() = 0;
|
||||
virtual double GetDuration() = 0;
|
||||
virtual wxString GetDurationFormat() = 0;
|
||||
virtual NumericFormatId GetDurationFormat() = 0;
|
||||
virtual void SetDuration(double seconds) = 0;
|
||||
|
||||
virtual bool Apply() = 0;
|
||||
|
@@ -58,7 +58,7 @@ class IdentInterfaceSymbol
|
||||
{
|
||||
public:
|
||||
IdentInterfaceSymbol() = default;
|
||||
|
||||
|
||||
// Allows implicit construction from a msgid re-used as an internal string
|
||||
IdentInterfaceSymbol( const wxString &msgid )
|
||||
: mInternal{ msgid }, mMsgid{ msgid }
|
||||
|
Reference in New Issue
Block a user