1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 00:19:27 +02:00

Remove wx/frame.h, wx/sizer.h, wx/access.h from headers

This commit is contained in:
Paul Licameli 2019-03-28 03:29:15 -04:00
parent ef9f3255dd
commit bcc2e0d13b
35 changed files with 21 additions and 33 deletions

View File

@ -13,7 +13,6 @@
#include "MemoryX.h" #include "MemoryX.h"
#include <vector> #include <vector>
#include <wx/sizer.h>
#include <wx/statbmp.h> #include <wx/statbmp.h>
#include <wx/bitmap.h> #include <wx/bitmap.h>
#include "widgets/wxPanelWrapper.h" #include "widgets/wxPanelWrapper.h"

View File

@ -20,8 +20,9 @@
#include "MemoryX.h" #include "MemoryX.h"
#include <wx/log.h> #include <wx/log.h>
#include <wx/frame.h> #include <wx/event.h> // to inherit wxEvtHandler
class wxFrame;
class wxTextCtrl; class wxTextCtrl;
class AudacityLogger final : public wxEvtHandler, public wxLog { class AudacityLogger final : public wxEvtHandler, public wxLog {

View File

@ -19,7 +19,6 @@
#endif #endif
//#include "wx/log.h" //#include "wx/log.h"
#include <wx/sizer.h>
#include <wx/menuitem.h> #include <wx/menuitem.h>
#include <wx/checklst.h> #include <wx/checklst.h>

View File

@ -19,7 +19,6 @@
#endif #endif
//#include "wx/log.h" //#include "wx/log.h"
#include <wx/sizer.h>
#include <wx/menuitem.h> #include <wx/menuitem.h>
#include <wx/checklst.h> #include <wx/checklst.h>

View File

@ -15,7 +15,6 @@
#include <vector> #include <vector>
#include <wx/brush.h> #include <wx/brush.h>
#include <wx/dcmemory.h> #include <wx/dcmemory.h>
#include <wx/frame.h>
#include <wx/panel.h> #include <wx/panel.h>
#include <wx/checkbox.h> #include <wx/checkbox.h>
#include <wx/dialog.h> #include <wx/dialog.h>
@ -23,7 +22,6 @@
#include <wx/pen.h> #include <wx/pen.h>
#include <wx/font.h> #include <wx/font.h>
#include <wx/scrolbar.h> #include <wx/scrolbar.h>
#include <wx/sizer.h>
#include <wx/statusbr.h> #include <wx/statusbr.h>
#include <wx/utils.h> #include <wx/utils.h>
#include "SampleFormat.h" #include "SampleFormat.h"

View File

@ -12,7 +12,6 @@
#define __AUDACITY_HISTORY_WINDOW__ #define __AUDACITY_HISTORY_WINDOW__
#include <wx/button.h> #include <wx/button.h>
#include <wx/frame.h>
#include <wx/listctrl.h> #include <wx/listctrl.h>
#include <wx/spinctrl.h> #include <wx/spinctrl.h>

View File

@ -12,7 +12,7 @@
#ifndef __AUDACITY_LYRICS_WINDOW__ #ifndef __AUDACITY_LYRICS_WINDOW__
#define __AUDACITY_LYRICS_WINDOW__ #define __AUDACITY_LYRICS_WINDOW__
#include <wx/frame.h> #include <wx/frame.h> // to inherit
class AudacityProject; class AudacityProject;
class LyricsPanel; class LyricsPanel;

View File

@ -14,7 +14,7 @@
#ifndef __AUDACITY_MIXER_BOARD__ #ifndef __AUDACITY_MIXER_BOARD__
#define __AUDACITY_MIXER_BOARD__ #define __AUDACITY_MIXER_BOARD__
#include <wx/frame.h> #include <wx/frame.h> // to inherit
#include <wx/bmpbuttn.h> #include <wx/bmpbuttn.h>
#include <wx/hashmap.h> #include <wx/hashmap.h>
#include <wx/image.h> #include <wx/image.h>

View File

@ -38,7 +38,7 @@
#include <wx/log.h> #include <wx/log.h>
#include <wx/dragimag.h> #include <wx/dragimag.h>
#include <wx/generic/dragimgg.h> #include <wx/generic/dragimgg.h>
#include <wx/frame.h> #include <wx/frame.h> // to inherit
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/dcclient.h> #include <wx/dcclient.h>
@ -49,7 +49,6 @@ const int AudacityProjectTimerID = 5200;
class wxArrayString; class wxArrayString;
class wxWindow; class wxWindow;
class wxDialog; class wxDialog;
class wxBoxSizer;
class wxScrollEvent; class wxScrollEvent;
class wxScrollBar; class wxScrollBar;
class wxPanel; class wxPanel;

View File

@ -32,6 +32,7 @@ It forwards the actual work of doing the commands to the ScreenshotCommand.
#include <wx/image.h> #include <wx/image.h>
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/panel.h> #include <wx/panel.h>
#include <wx/sizer.h>
#include <wx/statusbr.h> #include <wx/statusbr.h>
#include <wx/textctrl.h> #include <wx/textctrl.h>
#include <wx/timer.h> #include <wx/timer.h>

View File

@ -19,7 +19,6 @@
#include <vector> #include <vector>
#include "MemoryX.h" #include "MemoryX.h"
#include <wx/grid.h> #include <wx/grid.h>
#include <wx/sizer.h>
#include "WrappedType.h" #include "WrappedType.h"
@ -68,6 +67,7 @@ class wxRadioButton;
class wxBitmap; class wxBitmap;
class wxPanel; class wxPanel;
class wxSizer; class wxSizer;
class wxSizerItem;
class wxStaticBox; class wxStaticBox;
class wxMenuBar; class wxMenuBar;
class wxMenu; class wxMenu;

View File

@ -15,7 +15,6 @@
#include <wx/dialog.h> #include <wx/dialog.h>
#include "widgets/wxPanelWrapper.h" #include "widgets/wxPanelWrapper.h"
class wxBoxSizer;
class wxStaticBitmap; class wxStaticBitmap;
class wxBitmap; class wxBitmap;
class ShuttleGui; class ShuttleGui;

View File

@ -17,7 +17,6 @@
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY
#include <wx/access.h>
#include "widgets/WindowAccessible.h" #include "widgets/WindowAccessible.h"
#endif #endif

View File

@ -12,7 +12,6 @@
#include "../widgets/wxPanelWrapper.h" #include "../widgets/wxPanelWrapper.h"
class wxButton; class wxButton;
class wxSizer;
class wxString; class wxString;
class wxTextCtrl; class wxTextCtrl;

View File

@ -21,7 +21,6 @@
#include "../MemoryX.h" #include "../MemoryX.h"
#include "../UndoManager.h" #include "../UndoManager.h"
#include <wx/access.h>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/bmpbuttn.h> #include <wx/bmpbuttn.h>
#include <wx/button.h> #include <wx/button.h>

View File

@ -18,17 +18,16 @@
#if defined(EXPERIMENTAL_EFFECTS_RACK) #if defined(EXPERIMENTAL_EFFECTS_RACK)
#include <wx/access.h>
#include <wx/bmpbuttn.h> #include <wx/bmpbuttn.h>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/frame.h> #include <wx/frame.h> // to inherit
#include <wx/image.h> #include <wx/image.h>
#include <wx/panel.h> #include <wx/panel.h>
#include <wx/sizer.h>
#include <wx/timer.h> #include <wx/timer.h>
#include "EffectManager.h" #include "EffectManager.h"
class wxFlexGridSizer;
class wxStaticText; class wxStaticText;
class EffectRack final : public wxFrame class EffectRack final : public wxFrame

View File

@ -80,6 +80,7 @@
#include <wx/filefn.h> #include <wx/filefn.h>
#include <wx/stdpaths.h> #include <wx/stdpaths.h>
#include <wx/settings.h> #include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/checkbox.h> #include <wx/checkbox.h>
#include <wx/tooltip.h> #include <wx/tooltip.h>
#include <wx/utils.h> #include <wx/utils.h>

View File

@ -23,13 +23,11 @@
#include <wx/dialog.h> #include <wx/dialog.h>
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/listctrl.h> #include <wx/listctrl.h>
#include <wx/sizer.h>
#include <wx/bitmap.h> #include <wx/bitmap.h>
#include <wx/radiobut.h> #include <wx/radiobut.h>
#include <wx/checkbox.h> #include <wx/checkbox.h>
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY
#include <wx/access.h>
#include "../widgets/WindowAccessible.h" #include "../widgets/WindowAccessible.h"
#endif #endif
@ -53,7 +51,10 @@ 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 wxBoxSizer;
class wxChoice; class wxChoice;
class wxSizer;
class wxSizerItem;
class wxSlider; class wxSlider;
class wxStaticText; class wxStaticText;
class Envelope; class Envelope;

View File

@ -54,7 +54,6 @@ extern int scorealign(
#endif #endif
class wxButton; class wxButton;
class wxSizer;
class wxString; class wxString;
class wxSlider; class wxSlider;
class wxStaticText; class wxStaticText;

View File

@ -53,7 +53,6 @@
#include <wx/dcclient.h> #include <wx/dcclient.h>
#include <wx/file.h> #include <wx/file.h>
#include <wx/filename.h> #include <wx/filename.h>
#include <wx/frame.h>
#include <wx/imaglist.h> #include <wx/imaglist.h>
#include <wx/listctrl.h> #include <wx/listctrl.h>
#include <wx/log.h> #include <wx/log.h>

View File

@ -39,6 +39,7 @@ effects from this one class.
#include <wx/datetime.h> #include <wx/datetime.h>
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/log.h> #include <wx/log.h>
#include <wx/sizer.h>
#include <wx/slider.h> #include <wx/slider.h>
#include <wx/sstream.h> #include <wx/sstream.h>
#include <wx/stattext.h> #include <wx/stattext.h>

View File

@ -15,7 +15,6 @@
#include <wx/datetime.h> #include <wx/datetime.h>
#include <wx/dialog.h> #include <wx/dialog.h>
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/sizer.h>
#include <wx/textbuf.h> #include <wx/textbuf.h>
#include <wx/tokenzr.h> #include <wx/tokenzr.h>

View File

@ -51,6 +51,7 @@
#include <wx/event.h> #include <wx/event.h>
#include <wx/image.h> #include <wx/image.h>
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/sizer.h>
#include <wx/statusbr.h> #include <wx/statusbr.h>
#include <wx/timer.h> #include <wx/timer.h>
#endif #endif

View File

@ -17,11 +17,11 @@
#include <vector> #include <vector>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/sizer.h>
#include "../Theme.h" #include "../Theme.h"
#include "../widgets/wxPanelWrapper.h" #include "../widgets/wxPanelWrapper.h"
class wxBoxSizer;
class wxDC; class wxDC;
class wxEraseEvent; class wxEraseEvent;
class wxMouseEvent; class wxMouseEvent;

View File

@ -41,6 +41,7 @@
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/region.h> #include <wx/region.h>
#include <wx/settings.h> #include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/sysopt.h> #include <wx/sysopt.h>
#include <wx/timer.h> #include <wx/timer.h>
#include <wx/utils.h> #include <wx/utils.h>

View File

@ -16,7 +16,7 @@
#include "../MemoryX.h" #include "../MemoryX.h"
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/eventfilter.h> #include <wx/eventfilter.h>
#include <wx/frame.h> #include <wx/frame.h> // to inherit
#include <wx/timer.h> #include <wx/timer.h>
#include "ToolDock.h" #include "ToolDock.h"

View File

@ -35,6 +35,7 @@ Paul Licameli split from TrackPanel.cpp
#include "../../../../widgets/ErrorDialog.h" #include "../../../../widgets/ErrorDialog.h"
#include <wx/combobox.h> #include <wx/combobox.h>
#include <wx/sizer.h>
namespace namespace
{ {

View File

@ -18,7 +18,6 @@
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY
#include <wx/access.h>
#include "WindowAccessible.h" #include "WindowAccessible.h"
#endif #endif

View File

@ -21,7 +21,6 @@
#include "widgets/wxPanelWrapper.h" #include "widgets/wxPanelWrapper.h"
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY
#include <wx/access.h>
#include "WindowAccessible.h" #include "WindowAccessible.h"
#endif #endif

View File

@ -20,7 +20,6 @@
#include "../Internat.h" #include "../Internat.h"
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY
#include <wx/access.h>
#include "WindowAccessible.h" #include "WindowAccessible.h"
class GridAx; class GridAx;

View File

@ -67,7 +67,6 @@ enum ViewByType
}; };
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY
#include <wx/access.h>
#include "WindowAccessible.h" #include "WindowAccessible.h"
// Forward reference accessibility provideer // Forward reference accessibility provideer

View File

@ -21,6 +21,7 @@
#include <wx/mimetype.h> #include <wx/mimetype.h>
#include <wx/filename.h> #include <wx/filename.h>
#include <wx/frame.h>
#include <wx/uri.h> #include <wx/uri.h>
#include <wx/settings.h> #include <wx/settings.h>
#include <wx/log.h> #include <wx/log.h>

View File

@ -17,7 +17,6 @@
#define __AUDACITY_LINKINGHTMLWINDOW__ #define __AUDACITY_LINKINGHTMLWINDOW__
#include <wx/html/htmlwin.h> #include <wx/html/htmlwin.h>
#include <wx/frame.h>
#include "HtmlWindow.h" #include "HtmlWindow.h"
#include "wxPanelWrapper.h" #include "wxPanelWrapper.h"

View File

@ -28,7 +28,6 @@
#include "../Internat.h" #include "../Internat.h"
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY
#include <wx/access.h>
#include "WindowAccessible.h" #include "WindowAccessible.h"
#endif #endif

View File

@ -15,7 +15,7 @@
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY
#include <wx/access.h> #include <wx/access.h> // to inherit
class WindowAccessible: public wxAccessible class WindowAccessible: public wxAccessible
{ {