mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
Uses of TranslatableString as value of XO macro...
... It is not implicitly convertible from wxString, compelling many uses of the new type to fix compilation.
This commit is contained in:
@@ -28,8 +28,8 @@ extern AUDACITY_DLL_API const wxString& GetCustomSubstitution(const wxString& st
|
||||
// Marks string for substitution only.
|
||||
#define _TS( s ) GetCustomSubstitution( s )
|
||||
|
||||
// Marks strings for extraction only...must use wxGetTranslation() to translate.
|
||||
#define XO(s) wxT(s)
|
||||
// Marks strings for extraction only... use .Translate() to translate.
|
||||
#define XO(s) (TranslatableString{ wxT(s) })
|
||||
|
||||
#ifdef _
|
||||
#undef _
|
||||
|
||||
Reference in New Issue
Block a user