1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-18 17:10:55 +02:00

Remove wx/intl.h, wx/brush.h, wx/bitmap.h from headers

This commit is contained in:
Paul Licameli 2018-11-14 14:10:04 -05:00
parent 1191e269a8
commit c982cf6a41
26 changed files with 8 additions and 32 deletions

View File

@ -47,7 +47,6 @@
#include <wx/cmdline.h> #include <wx/cmdline.h>
#include <wx/fileconf.h> // to inherit #include <wx/fileconf.h> // to inherit
#include <wx/intl.h>
#include <algorithm> #include <algorithm>
#include "ComponentInterface.h" #include "ComponentInterface.h"

View File

@ -15,7 +15,7 @@
#define __AUDACITY_COLOR__ #define __AUDACITY_COLOR__
#include "MemoryX.h" #include "MemoryX.h"
#include <wx/brush.h> #include <wx/brush.h> // member variable
#include <wx/pen.h> // member variable #include <wx/pen.h> // member variable
class wxDC; class wxDC;

View File

@ -13,7 +13,6 @@
#include "MemoryX.h" #include "MemoryX.h"
#include <vector> #include <vector>
#include <wx/bitmap.h>
#include "widgets/wxPanelWrapper.h" #include "widgets/wxPanelWrapper.h"
extern const wxString VerCheckArgs(); extern const wxString VerCheckArgs();

View File

@ -15,7 +15,6 @@
#include "widgets/Ruler.h" #include "widgets/Ruler.h"
#include "MemoryX.h" #include "MemoryX.h"
#include <wx/bitmap.h>
class ViewInfo; class ViewInfo;
class AudacityProject; class AudacityProject;

View File

@ -24,7 +24,6 @@
#include <wx/cmdline.h> #include <wx/cmdline.h>
#include <wx/dir.h> #include <wx/dir.h>
#include <wx/docview.h> #include <wx/docview.h>
#include <wx/intl.h>
#include <wx/snglinst.h> #include <wx/snglinst.h>
#include <wx/socket.h> #include <wx/socket.h>
#include <wx/timer.h> #include <wx/timer.h>

View File

@ -15,8 +15,6 @@
#include <algorithm> #include <algorithm>
#include <vector> #include <vector>
#include <wx/brush.h>
#include "xml/XMLTagHandler.h" #include "xml/XMLTagHandler.h"
#include "Internat.h" #include "Internat.h"

View File

@ -13,7 +13,6 @@
#include "MemoryX.h" #include "MemoryX.h"
#include <vector> #include <vector>
#include <wx/brush.h>
#include <wx/panel.h> #include <wx/panel.h>
#include <wx/dialog.h> #include <wx/dialog.h>
#include <wx/gdicmn.h> #include <wx/gdicmn.h>

View File

@ -16,7 +16,6 @@
#include "SelectedRegion.h" #include "SelectedRegion.h"
#include "Track.h" #include "Track.h"
#include <wx/brush.h>
#include <wx/clipbrd.h> #include <wx/clipbrd.h>

View File

@ -41,7 +41,6 @@ class wxMemoryDC;
#include <wx/generic/dragimgg.h> #include <wx/generic/dragimgg.h>
#include <wx/frame.h> // to inherit #include <wx/frame.h> // to inherit
#include <wx/intl.h>
#include "import/ImportRaw.h" // defines TrackHolders #include "import/ImportRaw.h" // defines TrackHolders

View File

@ -15,7 +15,6 @@
#include "Audacity.h" #include "Audacity.h"
#include "MemoryX.h" #include "MemoryX.h"
#include <wx/intl.h>
#include "SampleFormat.h" #include "SampleFormat.h"

View File

@ -17,11 +17,11 @@
#include "Audacity.h" #include "Audacity.h"
#include <vector> #include <vector>
#include <wx/bitmap.h>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/window.h> // to inherit #include <wx/window.h> // to inherit
class wxArrayString; class wxArrayString;
class wxBitmap;
class wxColour; class wxColour;
class wxFont; class wxFont;
class wxImage; class wxImage;

View File

@ -12,7 +12,6 @@
#define __AUDACITY_TIMETRACK__ #define __AUDACITY_TIMETRACK__
#include "Track.h" #include "Track.h"
#include <wx/brush.h>
#include <algorithm> #include <algorithm>

View File

@ -22,7 +22,7 @@
#include "Experimental.h" #include "Experimental.h"
#include "MemoryX.h" #include "MemoryX.h"
#include <wx/brush.h> #include <wx/brush.h> // member variable
#include <wx/pen.h> // member variables #include <wx/pen.h> // member variables
#include "audacity/Types.h" #include "audacity/Types.h"

View File

@ -19,7 +19,6 @@
#include "../MemoryX.h" #include "../MemoryX.h"
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/dynarray.h> #include <wx/dynarray.h>
#include <wx/intl.h>
class wxListBox; class wxListBox;
class wxWindow; class wxWindow;

View File

@ -11,12 +11,12 @@
#ifndef __AUDACITY_EFFECT_AUTODUCK__ #ifndef __AUDACITY_EFFECT_AUTODUCK__
#define __AUDACITY_EFFECT_AUTODUCK__ #define __AUDACITY_EFFECT_AUTODUCK__
#include <wx/bitmap.h>
#include <wx/gdicmn.h> #include <wx/gdicmn.h>
#include "Effect.h" #include "Effect.h"
#include "../widgets/wxPanelWrapper.h" #include "../widgets/wxPanelWrapper.h"
class wxBitmap;
class wxTextCtrl; class wxTextCtrl;
class EffectAutoDuckPanel; class EffectAutoDuckPanel;
class ShuttleGui; class ShuttleGui;

View File

@ -11,7 +11,6 @@
#ifndef __AUDACITY_EFFECT_COMPRESSOR__ #ifndef __AUDACITY_EFFECT_COMPRESSOR__
#define __AUDACITY_EFFECT_COMPRESSOR__ #define __AUDACITY_EFFECT_COMPRESSOR__
#include <wx/bitmap.h>
#include <wx/gdicmn.h> #include <wx/gdicmn.h>
#include "../widgets/wxPanelWrapper.h" #include "../widgets/wxPanelWrapper.h"

View File

@ -21,7 +21,6 @@
#include "../MemoryX.h" #include "../MemoryX.h"
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/intl.h>
class wxButton; class wxButton;
class wxCheckBox; class wxCheckBox;

View File

@ -20,8 +20,6 @@
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/panel.h> #include <wx/panel.h>
#include <wx/dialog.h> #include <wx/dialog.h>
#include <wx/intl.h>
#include <wx/bitmap.h>
#include <wx/radiobut.h> #include <wx/radiobut.h>
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY
@ -48,6 +46,7 @@ const int kEqOptionCurve =1<<1;
// The legacy version offers both Graphic and curve on the same UI. // The legacy version offers both Graphic and curve on the same UI.
const int kEqLegacy = kEqOptionGraphic + kEqOptionCurve; const int kEqLegacy = kEqOptionGraphic + kEqOptionCurve;
class wxBitmap;
class wxBoxSizer; class wxBoxSizer;
class wxButton; class wxButton;
class wxCheckBox; class wxCheckBox;

View File

@ -15,13 +15,13 @@ Vaughan Johnson (Preview)
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/bitmap.h>
#include <wx/panel.h> #include <wx/panel.h>
#include "Biquad.h" #include "Biquad.h"
#include "Effect.h" #include "Effect.h"
class wxBitmap;
class wxChoice; class wxChoice;
class wxSlider; class wxSlider;
class wxStaticText; class wxStaticText;

View File

@ -13,7 +13,6 @@
#include <wx/datetime.h> #include <wx/datetime.h>
#include <wx/dialog.h> #include <wx/dialog.h>
#include <wx/intl.h>
#include <wx/textbuf.h> #include <wx/textbuf.h>
#include "../Effect.h" #include "../Effect.h"

View File

@ -26,7 +26,6 @@
#define SIZER_COLS 7 #define SIZER_COLS 7
class wxBitmap;
class wxChoice; class wxChoice;
class wxComboBox; class wxComboBox;
class wxCommandEvent; class wxCommandEvent;

View File

@ -16,7 +16,6 @@ Paul Licameli
#include "ToolBar.h" #include "ToolBar.h"
#include "../widgets/NumericTextCtrl.h" #include "../widgets/NumericTextCtrl.h"
class wxBitmap;
class wxChoice; class wxChoice;
class wxComboBox; class wxComboBox;
class wxCommandEvent; class wxCommandEvent;

View File

@ -22,7 +22,6 @@
#include "ToolDock.h" #include "ToolDock.h"
#include "ToolBar.h" #include "ToolBar.h"
class wxBitmap;
class wxCommandEvent; class wxCommandEvent;
class wxFrame; class wxFrame;
class wxMouseEvent; class wxMouseEvent;

View File

@ -107,8 +107,6 @@ void TranscriptionToolBar::Create(wxWindow * parent)
{ {
ToolBar::Create(parent); ToolBar::Create(parent);
mBackgroundBrush.SetColour(wxColour(204, 204, 204));
mBackgroundHeight = 0; mBackgroundHeight = 0;
mBackgroundWidth = 0; mBackgroundWidth = 0;

View File

@ -18,13 +18,11 @@
#include "ToolBar.h" #include "ToolBar.h"
#include "../MemoryX.h" #include "../MemoryX.h"
#include <wx/brush.h> #include <wx/brush.h> // member variable
#include "audacity/Types.h" #include "audacity/Types.h"
#include "../Theme.h" #include "../Theme.h"
class wxBitmap;
class wxBrush;
class wxChoice; class wxChoice;
class wxCommandEvent; class wxCommandEvent;
class wxImage; class wxImage;
@ -150,7 +148,6 @@ class TranscriptionToolBar final : public ToolBar {
wxChoice *mKeyTypeChoice; wxChoice *mKeyTypeChoice;
#endif #endif
wxBrush mBackgroundBrush;
int mBackgroundWidth; int mBackgroundWidth;
int mBackgroundHeight; int mBackgroundHeight;

View File

@ -17,7 +17,7 @@
#define __AUDACITY_METER__ #define __AUDACITY_METER__
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/brush.h> #include <wx/brush.h> // member variable
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/gdicmn.h> #include <wx/gdicmn.h>
#include <wx/timer.h> #include <wx/timer.h>