Remove wx/textctrl.h from headers

This commit is contained in:
Paul Licameli 2018-11-11 16:11:18 -05:00
parent b1ce24c087
commit 8cf6874555
32 changed files with 30 additions and 39 deletions

View File

@ -21,7 +21,8 @@
#include "MemoryX.h" #include "MemoryX.h"
#include <wx/log.h> #include <wx/log.h>
#include <wx/frame.h> #include <wx/frame.h>
#include <wx/textctrl.h>
class wxTextCtrl;
class AudacityLogger final : public wxEvtHandler, public wxLog { class AudacityLogger final : public wxEvtHandler, public wxLog {
public: public:

View File

@ -156,7 +156,6 @@ extern "C" {
#include "widgets/LinkingHtmlWindow.h" #include "widgets/LinkingHtmlWindow.h"
#include "ShuttleGui.h" #include "ShuttleGui.h"
#include "Prefs.h" #include "Prefs.h"
#include <wx/textctrl.h>
#include "audacity/Types.h" #include "audacity/Types.h"

View File

@ -25,13 +25,13 @@
#include <wx/scrolbar.h> #include <wx/scrolbar.h>
#include <wx/sizer.h> #include <wx/sizer.h>
#include <wx/statusbr.h> #include <wx/statusbr.h>
#include <wx/textctrl.h>
#include <wx/utils.h> #include <wx/utils.h>
#include "SampleFormat.h" #include "SampleFormat.h"
#include "widgets/wxPanelWrapper.h" #include "widgets/wxPanelWrapper.h"
class wxSlider; class wxSlider;
class wxStatusBar; class wxStatusBar;
class wxTextCtrl;
class wxButton; class wxButton;
class wxChoice; class wxChoice;

View File

@ -15,10 +15,10 @@
#include <wx/frame.h> #include <wx/frame.h>
#include <wx/listctrl.h> #include <wx/listctrl.h>
#include <wx/spinctrl.h> #include <wx/spinctrl.h>
#include <wx/textctrl.h>
#include "widgets/wxPanelWrapper.h" #include "widgets/wxPanelWrapper.h"
class wxTextCtrl;
class AudacityProject; class AudacityProject;
class ShuttleGui; class ShuttleGui;
class UndoManager; class UndoManager;

View File

@ -15,7 +15,7 @@
#include "Audacity.h" #include "Audacity.h"
#include <vector> #include <vector>
#include <wx/textctrl.h> #include <wx/textctrl.h> // to inherit
#include "commands/CommandManagerWindowClasses.h" #include "commands/CommandManagerWindowClasses.h"
#include "widgets/wxPanelWrapper.h" #include "widgets/wxPanelWrapper.h"

View File

@ -17,7 +17,7 @@
#define __AUDACITY_TIMERRECORD_DIALOG__ #define __AUDACITY_TIMERRECORD_DIALOG__
#include <wx/dialog.h> #include <wx/dialog.h>
#include <wx/textctrl.h> #include <wx/textctrl.h> // to inherit
#include <wx/datectrl.h> #include <wx/datectrl.h>
#include <wx/calctrl.h> #include <wx/calctrl.h>
#include <wx/timer.h> #include <wx/timer.h>

View File

@ -11,8 +11,6 @@
#ifndef __AUDACITY_DEMO_COMMAND__ #ifndef __AUDACITY_DEMO_COMMAND__
#define __AUDACITY_DEMO_COMMAND__ #define __AUDACITY_DEMO_COMMAND__
#include <wx/textctrl.h>
#include "AudacityCommand.h" #include "AudacityCommand.h"
#include "../SampleFormat.h" #include "../SampleFormat.h"

View File

@ -16,13 +16,13 @@
#define __AUDACITY_EFFECT_AMPLIFY__ #define __AUDACITY_EFFECT_AMPLIFY__
#include <wx/checkbox.h> #include <wx/checkbox.h>
#include <wx/textctrl.h>
#include "Effect.h" #include "Effect.h"
#define AMPLIFY_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Amplify") } #define AMPLIFY_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Amplify") }
class wxSlider; class wxSlider;
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
class EffectAmplify final : public Effect class EffectAmplify final : public Effect

View File

@ -13,11 +13,11 @@
#include <wx/bitmap.h> #include <wx/bitmap.h>
#include <wx/gdicmn.h> #include <wx/gdicmn.h>
#include <wx/textctrl.h>
#include "Effect.h" #include "Effect.h"
#include "../widgets/wxPanelWrapper.h" #include "../widgets/wxPanelWrapper.h"
class wxTextCtrl;
class EffectAutoDuckPanel; class EffectAutoDuckPanel;
class ShuttleGui; class ShuttleGui;

View File

@ -12,12 +12,12 @@
#ifndef __AUDACITY_EFFECT_BASS_TREBLE__ #ifndef __AUDACITY_EFFECT_BASS_TREBLE__
#define __AUDACITY_EFFECT_BASS_TREBLE__ #define __AUDACITY_EFFECT_BASS_TREBLE__
#include <wx/textctrl.h>
#include <wx/checkbox.h> #include <wx/checkbox.h>
#include "Effect.h" #include "Effect.h"
class wxSlider; class wxSlider;
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
#define BASSTREBLE_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Bass and Treble") } #define BASSTREBLE_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Bass and Treble") }

View File

@ -28,11 +28,11 @@ the pitch without changing the tempo.
#include <wx/choice.h> #include <wx/choice.h>
#include <wx/spinctrl.h> #include <wx/spinctrl.h>
#include <wx/textctrl.h>
#include "SoundTouchEffect.h" #include "SoundTouchEffect.h"
class wxSlider; class wxSlider;
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
#define CHANGEPITCH_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Change Pitch") } #define CHANGEPITCH_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Change Pitch") }

View File

@ -14,13 +14,13 @@
#define __AUDACITY_EFFECT_CHANGESPEED__ #define __AUDACITY_EFFECT_CHANGESPEED__
#include <wx/choice.h> #include <wx/choice.h>
#include <wx/textctrl.h>
#include "../widgets/NumericTextCtrl.h" #include "../widgets/NumericTextCtrl.h"
#include "Effect.h" #include "Effect.h"
class wxSlider; class wxSlider;
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
#define CHANGESPEED_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Change Speed") } #define CHANGESPEED_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Change Speed") }

View File

@ -22,11 +22,10 @@
#include <wx/checkbox.h> #include <wx/checkbox.h>
#endif #endif
#include <wx/textctrl.h>
#include "SoundTouchEffect.h" #include "SoundTouchEffect.h"
class wxSlider; class wxSlider;
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
#define CHANGETEMPO_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Change Tempo") } #define CHANGETEMPO_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Change Tempo") }

View File

@ -16,11 +16,10 @@
#ifndef __AUDACITY_EFFECT_CLICK_REMOVAL__ #ifndef __AUDACITY_EFFECT_CLICK_REMOVAL__
#define __AUDACITY_EFFECT_CLICK_REMOVAL__ #define __AUDACITY_EFFECT_CLICK_REMOVAL__
#include <wx/textctrl.h>
#include "Effect.h" #include "Effect.h"
class wxSlider; class wxSlider;
class wxTextCtrl;
class Envelope; class Envelope;
class ShuttleGui; class ShuttleGui;

View File

@ -11,7 +11,6 @@
#ifndef __AUDACITY_EFFECT_DISTORTION__ #ifndef __AUDACITY_EFFECT_DISTORTION__
#define __AUDACITY_EFFECT_DISTORTION__ #define __AUDACITY_EFFECT_DISTORTION__
#include <wx/textctrl.h>
#include <wx/checkbox.h> #include <wx/checkbox.h>
#include <queue> #include <queue>
@ -20,6 +19,7 @@
class wxSlider; class wxSlider;
class wxStaticText; class wxStaticText;
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
#define DISTORTION_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Distortion") } #define DISTORTION_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Distortion") }

View File

@ -20,6 +20,7 @@
class wxSlider; class wxSlider;
class wxStaticText; class wxStaticText;
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
#define DTMFTONES_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("DTMF Tones") } #define DTMFTONES_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("DTMF Tones") }

View File

@ -12,8 +12,6 @@
#ifndef __AUDACITY_EFFECT_ECHO__ #ifndef __AUDACITY_EFFECT_ECHO__
#define __AUDACITY_EFFECT_ECHO__ #define __AUDACITY_EFFECT_ECHO__
#include <wx/textctrl.h>
#include "Effect.h" #include "Effect.h"
#include "../SampleFormat.h" #include "../SampleFormat.h"

View File

@ -16,12 +16,12 @@
#include "../Experimental.h" #include "../Experimental.h"
#include <wx/checkbox.h> #include <wx/checkbox.h>
#include <wx/textctrl.h>
#include "Effect.h" #include "Effect.h"
#include "Biquad.h" #include "Biquad.h"
class wxStaticText; class wxStaticText;
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
#define NORMALIZE_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Normalize") } #define NORMALIZE_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Normalize") }

View File

@ -16,11 +16,10 @@
#ifndef __AUDACITY_EFFECT_PHASER__ #ifndef __AUDACITY_EFFECT_PHASER__
#define __AUDACITY_EFFECT_PHASER__ #define __AUDACITY_EFFECT_PHASER__
#include <wx/textctrl.h>
#include "Effect.h" #include "Effect.h"
class wxSlider; class wxSlider;
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
#define NUM_STAGES 24 #define NUM_STAGES 24

View File

@ -11,10 +11,9 @@
#ifndef __AUDACITY_EFFECT_REPEAT__ #ifndef __AUDACITY_EFFECT_REPEAT__
#define __AUDACITY_EFFECT_REPEAT__ #define __AUDACITY_EFFECT_REPEAT__
#include <wx/textctrl.h>
#include "Effect.h" #include "Effect.h"
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
#define REPEAT_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Repeat") } #define REPEAT_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Repeat") }

View File

@ -15,11 +15,10 @@
#if USE_SBSMS #if USE_SBSMS
#include <wx/textctrl.h>
#include "SBSMSEffect.h" #include "SBSMSEffect.h"
class wxSlider; class wxSlider;
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
// two strings here // two strings here

View File

@ -16,11 +16,10 @@
#ifndef __AUDACITY_EFFECT_WAHWAH__ #ifndef __AUDACITY_EFFECT_WAHWAH__
#define __AUDACITY_EFFECT_WAHWAH__ #define __AUDACITY_EFFECT_WAHWAH__
#include <wx/textctrl.h>
#include "Effect.h" #include "Effect.h"
class wxSlider; class wxSlider;
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
#define WAHWAH_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Wahwah") } #define WAHWAH_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Wahwah") }

View File

@ -19,7 +19,6 @@ class wxArrayString;
#include <vector> #include <vector>
#include <wx/checkbox.h> #include <wx/checkbox.h>
#include <wx/dialog.h> #include <wx/dialog.h>
#include <wx/textctrl.h>
#include "lv2/lv2plug.in/ns/ext/atom/forge.h" #include "lv2/lv2plug.in/ns/ext/atom/forge.h"
#include "lv2/lv2plug.in/ns/ext/data-access/data-access.h" #include "lv2/lv2plug.in/ns/ext/data-access/data-access.h"
@ -39,6 +38,7 @@ class wxArrayString;
#include <unordered_map> #include <unordered_map>
class wxSlider; class wxSlider;
class wxTextCtrl;
#define LV2EFFECTS_VERSION wxT("1.0.0.0") #define LV2EFFECTS_VERSION wxT("1.0.0.0")
/* i18n-hint: abbreviates /* i18n-hint: abbreviates

View File

@ -18,7 +18,6 @@
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/sizer.h> #include <wx/sizer.h>
#include <wx/textbuf.h> #include <wx/textbuf.h>
#include <wx/textctrl.h>
#include <wx/tokenzr.h> #include <wx/tokenzr.h>
#include "../Effect.h" #include "../Effect.h"
@ -26,6 +25,7 @@
#include "nyx.h" #include "nyx.h"
class wxArrayString; class wxArrayString;
class wxTextCtrl;
#define NYQUISTEFFECTS_VERSION wxT("1.0.0.0") #define NYQUISTEFFECTS_VERSION wxT("1.0.0.0")
/* i18n-hint: "Nyquist" is an embedded interpreted programming language in /* i18n-hint: "Nyquist" is an embedded interpreted programming language in

View File

@ -17,7 +17,6 @@
#include <wx/checkbox.h> #include <wx/checkbox.h>
#include <wx/choice.h> #include <wx/choice.h>
#include <wx/textctrl.h>
#include <vamp-hostsdk/PluginLoader.h> #include <vamp-hostsdk/PluginLoader.h>
@ -26,6 +25,7 @@
class wxStaticText; class wxStaticText;
class wxSlider; class wxSlider;
class wxTextCtrl;
class LabelTrack; class LabelTrack;
#define VAMPEFFECTS_VERSION wxT("1.0.0.0") #define VAMPEFFECTS_VERSION wxT("1.0.0.0")

View File

@ -29,6 +29,7 @@ class wxArrayStringEx;
class wxArrayString; class wxArrayString;
class wxStaticText; class wxStaticText;
class wxTextCtrl;
/// Identifiers for pre-set export types. /// Identifiers for pre-set export types.
enum FFmpegExposedFormat enum FFmpegExposedFormat

View File

@ -11,13 +11,12 @@
#ifndef __AUDACITY_DIRECTORIES_PREFS__ #ifndef __AUDACITY_DIRECTORIES_PREFS__
#define __AUDACITY_DIRECTORIES_PREFS__ #define __AUDACITY_DIRECTORIES_PREFS__
#include <wx/textctrl.h>
#include "PrefsPanel.h" #include "PrefsPanel.h"
class ShuttleGui; class ShuttleGui;
class wxStaticText; class wxStaticText;
class wxTextCtrl;
class DirectoriesPrefs final : public PrefsPanel class DirectoriesPrefs final : public PrefsPanel
{ {

View File

@ -20,7 +20,6 @@ class ShuttleGui;
#include <wx/listctrl.h> #include <wx/listctrl.h>
#include <wx/radiobut.h> #include <wx/radiobut.h>
#include <wx/srchctrl.h> #include <wx/srchctrl.h>
#include <wx/textctrl.h>
#include <wx/timer.h> #include <wx/timer.h>
#include "../widgets/KeyView.h" #include "../widgets/KeyView.h"
@ -28,6 +27,7 @@ class ShuttleGui;
#include "PrefsPanel.h" #include "PrefsPanel.h"
class wxStaticText; class wxStaticText;
class wxTextCtrl;
struct NormalizedKeyString; struct NormalizedKeyString;
class KeyConfigPrefs final : public PrefsPanel class KeyConfigPrefs final : public PrefsPanel

View File

@ -16,10 +16,10 @@
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/choice.h> #include <wx/choice.h>
#include <wx/textctrl.h>
#include "PrefsPanel.h" #include "PrefsPanel.h"
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
enum sampleFormat : unsigned; enum sampleFormat : unsigned;
enum DitherType : unsigned; enum DitherType : unsigned;

View File

@ -13,10 +13,10 @@
#define __AUDACITY_RECORDING_PREFS__ #define __AUDACITY_RECORDING_PREFS__
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/textctrl.h>
#include "PrefsPanel.h" #include "PrefsPanel.h"
class wxTextCtrl;
class ShuttleGui; class ShuttleGui;
class RecordingPrefs final : public PrefsPanel class RecordingPrefs final : public PrefsPanel

View File

@ -23,7 +23,7 @@
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/panel.h> #include <wx/panel.h>
#include <wx/textctrl.h> #include <wx/control.h> // to inherit
#include "../Internat.h" #include "../Internat.h"

View File

@ -17,7 +17,7 @@
#if wxUSE_VALIDATORS #if wxUSE_VALIDATORS
#include <wx/textctrl.h> #include <wx/textctrl.h> // complete type needed in template function
#include <wx/validate.h> #include <wx/validate.h>
#include <limits> #include <limits>