1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-03 09:29:30 +02:00

Can't remove remaining wx headers from other headers, comment that

This commit is contained in:
Paul Licameli 2018-11-14 11:48:46 -05:00
parent 6a973f6700
commit 4714d72b3f
33 changed files with 40 additions and 40 deletions

View File

@ -9,7 +9,7 @@
#ifndef __NYQUIST_EFFECT_WORKBENCH__ #ifndef __NYQUIST_EFFECT_WORKBENCH__
#define __NYQUIST_EFFECT_WORKBENCH__ #define __NYQUIST_EFFECT_WORKBENCH__
#include <wx/fdrepdlg.h> // wxFindReplaceData member variable below #include <wx/fdrepdlg.h> // wxFindReplaceData member variable
#include <wx/string.h> #include <wx/string.h>
#include <iostream> #include <iostream>

View File

@ -21,14 +21,14 @@
#include "MemoryX.h" #include "MemoryX.h"
#include <wx/app.h> // to inherit #include <wx/app.h> // to inherit
#include <wx/dir.h> #include <wx/dir.h> // for wxDIR_FILES
#include <wx/timer.h> #include <wx/timer.h> // member variable
#include "widgets/FileHistory.h" #include "widgets/FileHistory.h"
#include "ondemand/ODTaskThread.h" #include "ondemand/ODTaskThread.h"
#if defined(EXPERIMENTAL_CRASH_REPORT) #if defined(EXPERIMENTAL_CRASH_REPORT)
#include <wx/debugrpt.h> #include <wx/debugrpt.h> // for wxDebugReport::Context
#endif #endif
class wxSingleInstanceChecker; class wxSingleInstanceChecker;

View File

@ -23,8 +23,8 @@
#include <atomic> #include <atomic>
#include <utility> #include <utility>
#include <vector> #include <vector>
#include <wx/atomic.h> #include <wx/atomic.h> // member variable
#include <wx/weakref.h> #include <wx/weakref.h> // member variable
#ifdef USE_MIDI #ifdef USE_MIDI

View File

@ -14,7 +14,7 @@
#include "xml/XMLTagHandler.h" #include "xml/XMLTagHandler.h"
#include "xml/XMLWriter.h" #include "xml/XMLWriter.h"
#include <wx/mstream.h> #include <wx/mstream.h> // member variables
#include <unordered_map> #include <unordered_map>

View File

@ -19,7 +19,7 @@
#include "SampleFormat.h" #include "SampleFormat.h"
#include "wxFileNameWrapper.h" // member variable below #include "wxFileNameWrapper.h" // member variable
#include "ondemand/ODTaskThread.h" #include "ondemand/ODTaskThread.h"

View File

@ -16,7 +16,7 @@
#include <list> #include <list>
#include "MemoryX.h" #include "MemoryX.h"
#include "wxFileNameWrapper.h" // member variable below #include "wxFileNameWrapper.h" // member variable
class AudacityProject; class AudacityProject;

View File

@ -25,7 +25,7 @@
#if defined(HAVE_DEVICE_CHANGE) #if defined(HAVE_DEVICE_CHANGE)
#include <wx/timer.h> #include <wx/timer.h> // member variable
class DeviceChangeInterface /* not final */ class DeviceChangeInterface /* not final */
{ {

View File

@ -10,7 +10,7 @@
#define __AUDACITY_FILE_EXCEPTION__ #define __AUDACITY_FILE_EXCEPTION__
#include "AudacityException.h" #include "AudacityException.h"
#include <wx/filename.h> // wxFileName member variable below #include <wx/filename.h> // wxFileName member variable
class FileException /* not final */ : public MessageBoxException class FileException /* not final */ : public MessageBoxException
{ {

View File

@ -15,7 +15,7 @@
#define __AUDACITY_MIXER_BOARD__ #define __AUDACITY_MIXER_BOARD__
#include <wx/frame.h> // to inherit #include <wx/frame.h> // to inherit
#include <wx/scrolwin.h> #include <wx/scrolwin.h> // to inherit
#include "widgets/ASlider.h" #include "widgets/ASlider.h"
#include "widgets/wxPanelWrapper.h" #include "widgets/wxPanelWrapper.h"

View File

@ -33,7 +33,7 @@
#include "../include/audacity/ComponentInterface.h" #include "../include/audacity/ComponentInterface.h"
#include <wx/config.h> #include <wx/config.h> // to inherit wxFileConfig
void InitPreferences(); void InitPreferences();
void FinishPreferences(); void FinishPreferences();

View File

@ -17,7 +17,7 @@
#define __AUDACITY_TIMERRECORD_DIALOG__ #define __AUDACITY_TIMERRECORD_DIALOG__
#include <wx/textctrl.h> // to inherit #include <wx/textctrl.h> // to inherit
#include <wx/timer.h> #include <wx/timer.h> // member variable
#include "export/Export.h" #include "export/Export.h"
class wxCheckBox; class wxCheckBox;

View File

@ -18,7 +18,7 @@
#include <vector> #include <vector>
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/timer.h> #include <wx/timer.h> // to inherit
#include "HitTestResult.h" #include "HitTestResult.h"

View File

@ -17,7 +17,7 @@ class UIHandle;
using UIHandlePtr = std::shared_ptr<UIHandle>; using UIHandlePtr = std::shared_ptr<UIHandle>;
class wxDC; class wxDC;
#include <wx/mousestate.h> #include <wx/mousestate.h> // member variable
struct TrackPanelDrawingContext { struct TrackPanelDrawingContext {
wxDC &dc; wxDC &dc;

View File

@ -32,7 +32,7 @@ Also, see ODPCMAliasBlockFile for a similar file.
#include "../ondemand/ODTaskThread.h" #include "../ondemand/ODTaskThread.h"
#include "../DirManager.h" #include "../DirManager.h"
#include "../ondemand/ODDecodeTask.h" #include "../ondemand/ODDecodeTask.h"
#include <wx/atomic.h> #include <wx/atomic.h> // member variable
/// An AliasBlockFile that references uncompressed data in an existing file /// An AliasBlockFile that references uncompressed data in an existing file
class ODDecodeBlockFile final : public SimpleBlockFile class ODDecodeBlockFile final : public SimpleBlockFile

View File

@ -20,7 +20,7 @@
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/frame.h> // to inherit #include <wx/frame.h> // to inherit
#include <wx/timer.h> #include <wx/timer.h> // member variable
#include "EffectManager.h" #include "EffectManager.h"

View File

@ -11,7 +11,7 @@
#ifndef AUDACITY_VSTCONTROL_H #ifndef AUDACITY_VSTCONTROL_H
#define AUDACITY_VSTCONTROL_H #define AUDACITY_VSTCONTROL_H
#include <wx/control.h> #include <wx/control.h> // to inherit
#include "aeffectx.h" #include "aeffectx.h"

View File

@ -15,7 +15,7 @@
#include <Carbon/Carbon.h> #include <Carbon/Carbon.h>
#endif #endif
#include <wx/osx/private.h> #include <wx/osx/private.h> // to inherit wxWidgetCocoaImpl
#include "VSTControl.h" #include "VSTControl.h"

View File

@ -22,8 +22,8 @@
#include <Carbon/Carbon.h> #include <Carbon/Carbon.h>
#endif #endif
#include <wx/osx/private.h> #include <wx/osx/private.h> // to inherit wxWidgetCocoaImpl
#include <wx/control.h> #include <wx/control.h> // to inherit
#include <AudioUnit/AudioComponent.h> #include <AudioUnit/AudioComponent.h>
#include <AudioUnit/AudioUnit.h> #include <AudioUnit/AudioUnit.h>

View File

@ -13,7 +13,7 @@
#include "Export.h" #include "Export.h"
#include "../Tags.h" // we need to know about the Tags class for metadata #include "../Tags.h" // we need to know about the Tags class for metadata
#include "../wxFileNameWrapper.h" // member variable below #include "../wxFileNameWrapper.h" // member variable
class wxButton; class wxButton;
class wxCheckBox; class wxCheckBox;

View File

@ -12,7 +12,7 @@
#define __AUDACITY_EXT_IMPORT_PREFS__ #define __AUDACITY_EXT_IMPORT_PREFS__
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/dnd.h> #include <wx/dnd.h> // to inherit wxDropTarget
#include "../widgets/Grid.h" #include "../widgets/Grid.h"
#include "PrefsPanel.h" #include "PrefsPanel.h"

View File

@ -16,7 +16,7 @@ class CommandManager;
class ShuttleGui; class ShuttleGui;
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/timer.h> #include <wx/timer.h> // member variable
#include "../widgets/KeyView.h" #include "../widgets/KeyView.h"

View File

@ -15,9 +15,9 @@
#include "../MemoryX.h" #include "../MemoryX.h"
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/eventfilter.h> #include <wx/eventfilter.h> // to inherit
#include <wx/frame.h> // to inherit #include <wx/frame.h> // to inherit
#include <wx/timer.h> #include <wx/timer.h> // member variable
#include "ToolDock.h" #include "ToolDock.h"
#include "ToolBar.h" #include "ToolBar.h"

View File

@ -16,7 +16,7 @@
#include "../MemoryX.h" #include "../MemoryX.h"
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/timer.h> #include <wx/timer.h> // member variable
#include "widgets/wxPanelWrapper.h" #include "widgets/wxPanelWrapper.h"
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY

View File

@ -15,7 +15,7 @@
#include "../Audacity.h" #include "../Audacity.h"
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/msgdlg.h> #include <wx/msgdlg.h> // to inherit
#include "LinkingHtmlWindow.h" #include "LinkingHtmlWindow.h"
#include "wxPanelWrapper.h" #include "wxPanelWrapper.h"
@ -99,7 +99,7 @@ inline int AudacityMessageBox(const wxString& message,
} }
#include <wx/textdlg.h> #include <wx/textdlg.h> // to inherit
/**************************************************************************//** /**************************************************************************//**
\class AudacityTextEntryDialog \class AudacityTextEntryDialog

View File

@ -15,8 +15,8 @@
#include <vector> #include <vector>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/dragimag.h> // use macros and typedefs in this header #include <wx/dragimag.h> // use macros and typedefs in this header
#include <wx/timer.h> #include <wx/timer.h> // member variable
#include <wx/minifram.h> #include <wx/minifram.h> // to inherit
#include "ImageRoll.h" #include "ImageRoll.h"
#include "wxPanelWrapper.h" #include "wxPanelWrapper.h"

View File

@ -14,7 +14,7 @@
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/weakref.h> #include <wx/weakref.h> // member variable
#include "audacity/Types.h" #include "audacity/Types.h"
#include "../MemoryX.h" #include "../MemoryX.h"

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/vlbox.h> #include <wx/vlbox.h> // to inherit wxVListBox
#include "../commands/Keyboard.h" #include "../commands/Keyboard.h"

View File

@ -19,7 +19,7 @@
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#include <wx/brush.h> // member variable #include <wx/brush.h> // member variable
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/timer.h> #include <wx/timer.h> // member variable
#include "../SampleFormat.h" #include "../SampleFormat.h"
#include "Ruler.h" #include "Ruler.h"

View File

@ -16,7 +16,7 @@
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/chartype.h> #include <wx/chartype.h> // for typedef wxChar
class wxString; class wxString;
const wxString &DefaultMultiDialogMessage(); const wxString &DefaultMultiDialogMessage();

View File

@ -23,7 +23,7 @@
#include "../MemoryX.h" #include "../MemoryX.h"
#include <vector> #include <vector>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/evtloop.h> #include <wx/evtloop.h> // member variable
#include "wxPanelWrapper.h" #include "wxPanelWrapper.h"

View File

@ -15,7 +15,7 @@
#define _WIDGETS_NUMFORMATTER_H_ #define _WIDGETS_NUMFORMATTER_H_
#include <cstddef> // for size_t #include <cstddef> // for size_t
#include <wx/chartype.h> #include <wx/chartype.h> // for typedef wxChar
#include <wx/longlong.h> #include <wx/longlong.h>
class wxString; class wxString;

View File

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

View File

@ -105,7 +105,7 @@ public:
} }
}; };
#include <wx/dirdlg.h> #include <wx/dirdlg.h> // to inherit
class AUDACITY_DLL_API wxDirDialogWrapper : public wxTabTraversalWrapper<wxDirDialog> class AUDACITY_DLL_API wxDirDialogWrapper : public wxTabTraversalWrapper<wxDirDialog>
{ {