From e023a1120b4b113108c550313274be435abefd16 Mon Sep 17 00:00:00 2001 From: "lllucius@gmail.com" Date: Sun, 7 Dec 2014 05:29:31 +0000 Subject: [PATCH] Correct some non-wxWidgets literals --- src/effects/VST/VSTEffect.h | 4 ++-- src/effects/audiounits/AudioUnitEffect.h | 4 ++-- src/effects/ladspa/LadspaEffect.cpp | 2 +- src/effects/ladspa/LadspaEffect.h | 4 ++-- src/effects/lv2/LV2Effect.h | 4 ++-- src/effects/nyquist/Nyquist.h | 4 ++-- src/effects/vamp/VampEffect.h | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/effects/VST/VSTEffect.h b/src/effects/VST/VSTEffect.h index cb891597d..386d86c08 100644 --- a/src/effects/VST/VSTEffect.h +++ b/src/effects/VST/VSTEffect.h @@ -20,8 +20,8 @@ #include "aeffectx.h" -#define VSTCMDKEY L"-checkvst" -#define VSTPLUGINTYPE L"VST" +#define VSTCMDKEY wxT("-checkvst") +#define VSTPLUGINTYPE wxT("VST") #define audacityVSTID CCONST('a', 'u', 'D', 'y'); diff --git a/src/effects/audiounits/AudioUnitEffect.h b/src/effects/audiounits/AudioUnitEffect.h index b67559564..4bd619dc5 100644 --- a/src/effects/audiounits/AudioUnitEffect.h +++ b/src/effects/audiounits/AudioUnitEffect.h @@ -25,8 +25,8 @@ #include "audacity/ModuleInterface.h" #include "audacity/PluginInterface.h" -#define AUDIOUNITEFFECTS_VERSION wxT("1.0.0.0"); -#define AUDIOUNITEFFECTS_FAMILY L"AudioUnit" +#define AUDIOUNITEFFECTS_VERSION wxT("1.0.0.0") +#define AUDIOUNITEFFECTS_FAMILY wxT("AudioUnit") class AudioUnitEffect; diff --git a/src/effects/ladspa/LadspaEffect.cpp b/src/effects/ladspa/LadspaEffect.cpp index 3fd09ab83..e5ab1a8cd 100644 --- a/src/effects/ladspa/LadspaEffect.cpp +++ b/src/effects/ladspa/LadspaEffect.cpp @@ -98,7 +98,7 @@ LadspaEffectsModule::~LadspaEffectsModule() wxString LadspaEffectsModule::GetID() { // Can be anything, but this is a v4 UUID - return L"3ebd9fb9-c020-4c0d-a786-d6a914e55e31"; + return wxT("3ebd9fb9-c020-4c0d-a786-d6a914e55e31"); } wxString LadspaEffectsModule::GetPath() diff --git a/src/effects/ladspa/LadspaEffect.h b/src/effects/ladspa/LadspaEffect.h index b17b0f95d..d43e7134d 100644 --- a/src/effects/ladspa/LadspaEffect.h +++ b/src/effects/ladspa/LadspaEffect.h @@ -23,8 +23,8 @@ class wxCheckBox; #include "ladspa.h" -#define LADSPAEFFECTS_VERSION wxT("1.0.0.0"); -#define LADSPAEFFECTS_FAMILY L"Ladspa" +#define LADSPAEFFECTS_VERSION wxT("1.0.0.0") +#define LADSPAEFFECTS_FAMILY wxT("Ladspa") /////////////////////////////////////////////////////////////////////////////// // diff --git a/src/effects/lv2/LV2Effect.h b/src/effects/lv2/LV2Effect.h index 5d667d1c4..384673fd4 100644 --- a/src/effects/lv2/LV2Effect.h +++ b/src/effects/lv2/LV2Effect.h @@ -24,8 +24,8 @@ class wxCheckBox; #include "../Effect.h" #include "LV2PortGroup.h" -#define LV2EFFECTS_VERSION wxT("1.0.0.0"); -#define LV2EFFECTS_FAMILY L"LV2" +#define LV2EFFECTS_VERSION wxT("1.0.0.0") +#define LV2EFFECTS_FAMILY wxT("LV2") /** A structure that contains information about a single LV2 plugin port. */ struct LV2Port diff --git a/src/effects/nyquist/Nyquist.h b/src/effects/nyquist/Nyquist.h index 8c17d82b2..4723c1f3c 100644 --- a/src/effects/nyquist/Nyquist.h +++ b/src/effects/nyquist/Nyquist.h @@ -28,8 +28,8 @@ #include -#define NYQUISTEFFECTS_VERSION wxT("1.0.0.0"); -#define NYQUISTEFFECTS_FAMILY L"Nyquist" +#define NYQUISTEFFECTS_VERSION wxT("1.0.0.0") +#define NYQUISTEFFECTS_FAMILY wxT("Nyquist") class NyqControl { diff --git a/src/effects/vamp/VampEffect.h b/src/effects/vamp/VampEffect.h index 8ae5c228d..7d82289c2 100644 --- a/src/effects/vamp/VampEffect.h +++ b/src/effects/vamp/VampEffect.h @@ -24,8 +24,8 @@ class wxComboBox; #include -#define VAMPEFFECTS_VERSION wxT("1.0.0.0"); -#define VAMPEFFECTS_FAMILY L"Vamp" +#define VAMPEFFECTS_VERSION wxT("1.0.0.0") +#define VAMPEFFECTS_FAMILY wxT("Vamp") class VampEffect : public Effect {