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

Remove wx/{grid,font,ffile,colour,button,bmpbuttn}.h from headers

This commit is contained in:
Paul Licameli 2018-11-14 15:01:44 -05:00
parent f92b507b8e
commit 70e88782fe
30 changed files with 23 additions and 26 deletions

View File

@ -18,7 +18,6 @@
#include <wx/bitmap.h> #include <wx/bitmap.h>
#include <wx/dc.h> #include <wx/dc.h>
#include <wx/dcmemory.h> #include <wx/dcmemory.h>
#include <wx/font.h>
class ViewInfo; class ViewInfo;
class AudacityProject; class AudacityProject;

View File

@ -15,12 +15,12 @@
#include "xml/XMLWriter.h" #include "xml/XMLWriter.h"
#include <wx/debug.h> #include <wx/debug.h>
#include <wx/ffile.h>
#include <wx/hashmap.h> #include <wx/hashmap.h>
#include <wx/mstream.h> #include <wx/mstream.h>
#include <unordered_map> #include <unordered_map>
class wxFFile;
class AudacityProject; class AudacityProject;
// //

View File

@ -13,7 +13,6 @@
#define __AUDACITY_BLOCKFILE__ #define __AUDACITY_BLOCKFILE__
#include "MemoryX.h" #include "MemoryX.h"
#include <wx/ffile.h>
#include "xml/XMLTagHandler.h" #include "xml/XMLTagHandler.h"
#include "xml/XMLWriter.h" #include "xml/XMLWriter.h"

View File

@ -20,7 +20,7 @@
#include <wx/dialog.h> #include <wx/dialog.h>
#include <wx/gdicmn.h> #include <wx/gdicmn.h>
#include <wx/pen.h> #include <wx/pen.h>
#include <wx/font.h> #include <wx/font.h> // member variable
#include <wx/scrolbar.h> #include <wx/scrolbar.h>
#include <wx/statusbr.h> #include <wx/statusbr.h>
#include <wx/utils.h> #include <wx/utils.h>

View File

@ -11,12 +11,12 @@
#ifndef __AUDACITY_HISTORY_WINDOW__ #ifndef __AUDACITY_HISTORY_WINDOW__
#define __AUDACITY_HISTORY_WINDOW__ #define __AUDACITY_HISTORY_WINDOW__
#include <wx/button.h>
#include <wx/listctrl.h> #include <wx/listctrl.h>
#include <wx/spinctrl.h> #include <wx/spinctrl.h>
#include "widgets/wxPanelWrapper.h" #include "widgets/wxPanelWrapper.h"
class wxButton;
class wxTextCtrl; class wxTextCtrl;
class AudacityProject; class AudacityProject;
class ShuttleGui; class ShuttleGui;

View File

@ -10,9 +10,9 @@
#include "MemoryX.h" #include "MemoryX.h"
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/colour.h>
#include "Theme.h" #include "Theme.h"
class wxColour;
class wxImage; class wxImage;
// This looks at the first pixel in the image, and shifts // This looks at the first pixel in the image, and shifts

View File

@ -13,13 +13,13 @@
#include <vector> #include <vector>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/grid.h>
#include "Internat.h" #include "Internat.h"
#include "widgets/Grid.h" #include "widgets/Grid.h"
#include "widgets/wxPanelWrapper.h" #include "widgets/wxPanelWrapper.h"
class wxArrayString; class wxArrayString;
class wxGridEvent;
class TrackFactory; class TrackFactory;
class TrackList; class TrackList;
class RowData; class RowData;

View File

@ -17,11 +17,11 @@
#include "Track.h" #include "Track.h"
#include <wx/brush.h> #include <wx/brush.h>
#include <wx/font.h>
#include <wx/pen.h> #include <wx/pen.h>
#include <wx/clipbrd.h> #include <wx/clipbrd.h>
class wxFont;
class wxKeyEvent; class wxKeyEvent;
class wxMouseEvent; class wxMouseEvent;
class wxTextFile; class wxTextFile;

View File

@ -21,6 +21,7 @@
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/bmpbuttn.h>
#include <wx/dcmemory.h> #include <wx/dcmemory.h>
#include <wx/icon.h> #include <wx/icon.h>
#include <wx/settings.h> // for wxSystemSettings::GetColour and wxSystemSettings::GetMetric #include <wx/settings.h> // for wxSystemSettings::GetColour and wxSystemSettings::GetMetric

View File

@ -15,7 +15,6 @@
#define __AUDACITY_MIXER_BOARD__ #define __AUDACITY_MIXER_BOARD__
#include <wx/frame.h> // to inherit #include <wx/frame.h> // to inherit
#include <wx/bmpbuttn.h>
#include <wx/hashmap.h> #include <wx/hashmap.h>
#include <wx/image.h> #include <wx/image.h>
#include <wx/scrolwin.h> #include <wx/scrolwin.h>
@ -27,6 +26,7 @@
#include "commands/CommandManagerWindowClasses.h" #include "commands/CommandManagerWindowClasses.h"
class wxArrayString; class wxArrayString;
class wxBitmapButton;
struct TrackListEvent; struct TrackListEvent;
// containment hierarchy: // containment hierarchy:

View File

@ -105,6 +105,7 @@ for registering for changes.
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/wx.h> #include <wx/wx.h>
#include <wx/wxprec.h> #include <wx/wxprec.h>
#include <wx/grid.h>
#include <wx/listctrl.h> #include <wx/listctrl.h>
#include <wx/notebook.h> #include <wx/notebook.h>
#include <wx/treectrl.h> #include <wx/treectrl.h>

View File

@ -18,7 +18,6 @@
#include <vector> #include <vector>
#include "MemoryX.h" #include "MemoryX.h"
#include <wx/grid.h>
#include "WrappedType.h" #include "WrappedType.h"

View File

@ -44,7 +44,6 @@
#include <unordered_map> #include <unordered_map>
class wxArrayString; class wxArrayString;
class wxButton;
class wxComboBox; class wxComboBox;
class wxGridCellChoiceEditor; class wxGridCellChoiceEditor;
class wxRadioButton; class wxRadioButton;

View File

@ -18,13 +18,13 @@
#include <vector> #include <vector>
#include <wx/bitmap.h> #include <wx/bitmap.h>
#include <wx/colour.h>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/font.h>
#include <wx/image.h> #include <wx/image.h>
#include <wx/window.h> // to inherit #include <wx/window.h> // to inherit
class wxArrayString; class wxArrayString;
class wxColour;
class wxFont;
// JKC: will probably change name from 'teBmps' to 'tIndexBmp'; // JKC: will probably change name from 'teBmps' to 'tIndexBmp';
typedef int teBmps; /// The index of a bitmap resource in Theme Resources. typedef int teBmps; /// The index of a bitmap resource in Theme Resources.

View File

@ -25,6 +25,7 @@
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/button.h>
#include <wx/choice.h> #include <wx/choice.h>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/dir.h> #include <wx/dir.h>

View File

@ -17,7 +17,6 @@
#include <set> #include <set>
#include "../MemoryX.h" #include "../MemoryX.h"
#include <wx/bmpbuttn.h>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/dynarray.h> #include <wx/dynarray.h>
#include <wx/intl.h> #include <wx/intl.h>

View File

@ -16,7 +16,8 @@
#include "Command.h" #include "Command.h"
#include "../commands/AudacityCommand.h" #include "../commands/AudacityCommand.h"
#include <wx/colour.h> #include <wx/colour.h> // member variable
class wxWindow; class wxWindow;
class wxTopLevelWindow; class wxTopLevelWindow;
class wxCommandEvent; class wxCommandEvent;

View File

@ -28,6 +28,7 @@ greater use in future.
#include <algorithm> #include <algorithm>
#include <wx/bmpbuttn.h>
#include <wx/checkbox.h> #include <wx/checkbox.h>
#include <wx/choice.h> #include <wx/choice.h>
#include <wx/dcmemory.h> #include <wx/dcmemory.h>

View File

@ -20,11 +20,11 @@
#include <set> #include <set>
#include "../MemoryX.h" #include "../MemoryX.h"
#include <wx/bmpbuttn.h>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/tglbtn.h> #include <wx/tglbtn.h>
class wxButton;
class wxCheckBox; class wxCheckBox;
class wxChoice; class wxChoice;
class wxListBox; class wxListBox;

View File

@ -18,7 +18,6 @@
#if defined(EXPERIMENTAL_EFFECTS_RACK) #if defined(EXPERIMENTAL_EFFECTS_RACK)
#include <wx/bmpbuttn.h>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/frame.h> // to inherit #include <wx/frame.h> // to inherit
#include <wx/image.h> #include <wx/image.h>

View File

@ -17,7 +17,6 @@
#define NUM_PTS 180 #define NUM_PTS 180
#define PANELBORDER 1 // only increase from '1' for testing purposes - MJS #define PANELBORDER 1 // only increase from '1' for testing purposes - MJS
#include <wx/button.h>
#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>
@ -52,6 +51,7 @@ const int kEqOptionCurve =1<<1;
const int kEqLegacy = kEqOptionGraphic + kEqOptionCurve; const int kEqLegacy = kEqOptionGraphic + kEqOptionCurve;
class wxBoxSizer; class wxBoxSizer;
class wxButton;
class wxChoice; class wxChoice;
class wxSizer; class wxSizer;
class wxSizerItem; class wxSizerItem;

View File

@ -34,6 +34,7 @@ effects from this one class.
#include <locale.h> #include <locale.h>
#include <wx/button.h>
#include <wx/checkbox.h> #include <wx/checkbox.h>
#include <wx/choice.h> #include <wx/choice.h>
#include <wx/datetime.h> #include <wx/datetime.h>

View File

@ -11,7 +11,6 @@
#ifndef __AUDACITY_EFFECT_NYQUIST__ #ifndef __AUDACITY_EFFECT_NYQUIST__
#define __AUDACITY_EFFECT_NYQUIST__ #define __AUDACITY_EFFECT_NYQUIST__
#include <wx/button.h>
#include <wx/datetime.h> #include <wx/datetime.h>
#include <wx/dialog.h> #include <wx/dialog.h>
#include <wx/intl.h> #include <wx/intl.h>

View File

@ -13,7 +13,6 @@
#define __AUDACITY_PREFS_DIALOG__ #define __AUDACITY_PREFS_DIALOG__
#include <vector> #include <vector>
#include <wx/button.h>
#include <wx/dialog.h> #include <wx/dialog.h>
#include <wx/treebook.h> #include <wx/treebook.h>
#include "../widgets/wxPanelWrapper.h" #include "../widgets/wxPanelWrapper.h"

View File

@ -31,7 +31,6 @@ class wxImage;
class wxSize; class wxSize;
class wxPoint; class wxPoint;
class wxTextCtrl; class wxTextCtrl;
class wxButton;
class Ruler; class Ruler;
class TipPanel; class TipPanel;

View File

@ -14,13 +14,13 @@
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/grid.h>
#include <wx/weakref.h> #include <wx/weakref.h>
#include "audacity/Types.h" #include "audacity/Types.h"
#include "../MemoryX.h" #include "../MemoryX.h"
class wxConfigBase; class wxConfigBase;
class wxMenu;
class AUDACITY_DLL_API FileHistory class AUDACITY_DLL_API FileHistory
{ {

View File

@ -15,7 +15,7 @@
#include <vector> #include <vector>
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/grid.h> #include <wx/grid.h> // to inherit wxGridCellEditor
#include "NumericTextCtrl.h" #include "NumericTextCtrl.h"
#include "../Internat.h" #include "../Internat.h"

View File

@ -16,7 +16,7 @@
#include "../Experimental.h" #include "../Experimental.h"
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/button.h> #include <wx/bmpbuttn.h>
#include <wx/icon.h> #include <wx/icon.h>
#include <wx/dialog.h> #include <wx/dialog.h>
#include <wx/intl.h> #include <wx/intl.h>

View File

@ -13,7 +13,7 @@
#include "wxPanelWrapper.h" #include "wxPanelWrapper.h"
#include <wx/colour.h> #include <wx/colour.h> // member variable
#include <wx/gdicmn.h> #include <wx/gdicmn.h>
#include <wx/pen.h> #include <wx/pen.h>
#include <wx/types.h> #include <wx/types.h>

View File

@ -11,7 +11,7 @@
#define __AUDACITY_XML_XML_FILE_WRITER__ #define __AUDACITY_XML_XML_FILE_WRITER__
#include <vector> #include <vector>
#include <wx/ffile.h> #include <wx/ffile.h> // to inherit
#include "../FileException.h" #include "../FileException.h"