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

Remove wx/{radiobut,ownerdrw,menuitem,menu,listbox}.h from *.h

This commit is contained in:
Paul Licameli 2018-11-14 16:30:11 -05:00
parent d28ae40399
commit 2e05d2d884
18 changed files with 18 additions and 22 deletions

View File

@ -21,6 +21,10 @@ selected command.
#include "Audacity.h" #include "Audacity.h"
#include "BatchCommandDialog.h" #include "BatchCommandDialog.h"
#ifdef __WXMSW__
#include <wx/ownerdrw.h>
#endif
// //
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/checkbox.h> #include <wx/checkbox.h>

View File

@ -14,18 +14,12 @@
#include <wx/defs.h> #include <wx/defs.h>
#ifdef __WXMSW__
#include <wx/ownerdrw.h>
#endif
#include <wx/menuitem.h>
#include <wx/checklst.h> #include <wx/checklst.h>
#include "BatchCommands.h" #include "BatchCommands.h"
class wxWindow; class wxWindow;
class wxTextCtrl; class wxTextCtrl;
class wxRadioButton;
class wxListCtrl; class wxListCtrl;
class wxListEvent; class wxListEvent;
class wxButton; class wxButton;

View File

@ -18,6 +18,11 @@
#include "BatchProcessDialog.h" #include "BatchProcessDialog.h"
#include <wx/setup.h> // for wxUSE_* macros #include <wx/setup.h> // for wxUSE_* macros
#ifdef __WXMSW__
#include <wx/ownerdrw.h>
#endif
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/checkbox.h> #include <wx/checkbox.h>
#include <wx/choice.h> #include <wx/choice.h>

View File

@ -14,18 +14,12 @@
#include <wx/defs.h> #include <wx/defs.h>
#ifdef __WXMSW__
#include <wx/ownerdrw.h>
#endif
#include <wx/menuitem.h>
#include <wx/checklst.h> #include <wx/checklst.h>
#include "BatchCommands.h" #include "BatchCommands.h"
class wxWindow; class wxWindow;
class wxTextCtrl; class wxTextCtrl;
class wxRadioButton;
class wxListCtrl; class wxListCtrl;
class wxListEvent; class wxListEvent;
class wxButton; class wxButton;

View File

@ -45,7 +45,6 @@
class wxArrayString; class wxArrayString;
class wxComboBox; class wxComboBox;
class wxGridCellChoiceEditor; class wxGridCellChoiceEditor;
class wxRadioButton;
class wxTextCtrl; class wxTextCtrl;
class Grid; class Grid;

View File

@ -29,7 +29,6 @@
#include "commands/CommandManagerWindowClasses.h" #include "commands/CommandManagerWindowClasses.h"
class wxMenu;
class wxRect; class wxRect;
class LabelTrack; class LabelTrack;

View File

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

View File

@ -32,6 +32,8 @@
class wxMenu; class wxMenu;
class wxMenuBar; class wxMenuBar;
class wxArrayString; class wxArrayString;
class wxMenu;
class wxMenuBar;
class TranslatedInternalString; class TranslatedInternalString;
using CommandParameter = CommandID; using CommandParameter = CommandID;

View File

@ -34,6 +34,7 @@ greater use in future.
#include <wx/dcclient.h> #include <wx/dcclient.h>
#include <wx/dcmemory.h> #include <wx/dcmemory.h>
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/listbox.h>
#include <wx/menu.h> #include <wx/menu.h>
#include <wx/settings.h> #include <wx/settings.h>
#include <wx/sizer.h> #include <wx/sizer.h>

View File

@ -15,7 +15,6 @@
#include "../Experimental.h" #include "../Experimental.h"
#include <vector> #include <vector>
#include <wx/listbox.h>
#include "audacity/EffectInterface.h" #include "audacity/EffectInterface.h"
#include "Effect.h" #include "Effect.h"

View File

@ -19,7 +19,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/radiobut.h>
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY
#include "../widgets/WindowAccessible.h" #include "../widgets/WindowAccessible.h"
@ -52,6 +51,7 @@ class wxCheckBox;
class wxChoice; class wxChoice;
class wxListCtrl; class wxListCtrl;
class wxListEvent; class wxListEvent;
class wxRadioButton;
class wxSizer; class wxSizer;
class wxSizerItem; class wxSizerItem;
class wxSlider; class wxSlider;

View File

@ -44,6 +44,7 @@ and ImportLOF.cpp.
#include <wx/textctrl.h> #include <wx/textctrl.h>
#include <wx/string.h> #include <wx/string.h>
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/listbox.h>
#include <wx/log.h> #include <wx/log.h>
#include <wx/sizer.h> //for wxBoxSizer #include <wx/sizer.h> //for wxBoxSizer
#include <wx/listimpl.cpp> #include <wx/listimpl.cpp>

View File

@ -15,12 +15,12 @@
#include "ImportForwards.h" #include "ImportForwards.h"
#include "audacity/Types.h" #include "audacity/Types.h"
#include <vector> #include <vector>
#include <wx/listbox.h>
#include <wx/tokenzr.h> // for enum wxStringTokenizerMode #include <wx/tokenzr.h> // for enum wxStringTokenizerMode
#include "../widgets/wxPanelWrapper.h" #include "../widgets/wxPanelWrapper.h"
class wxArrayString; class wxArrayString;
class wxListBox;
class Tags; class Tags;
class TrackFactory; class TrackFactory;
class Track; class Track;

View File

@ -30,6 +30,7 @@ KeyConfigPrefs and MousePrefs use.
#include <wx/filedlg.h> #include <wx/filedlg.h>
#include <wx/menu.h> #include <wx/menu.h>
#include <wx/button.h> #include <wx/button.h>
#include <wx/radiobut.h>
#include <wx/stattext.h> #include <wx/stattext.h>
#include <wx/statbox.h> #include <wx/statbox.h>

View File

@ -17,7 +17,6 @@ class ShuttleGui;
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/imaglist.h> #include <wx/imaglist.h>
#include <wx/radiobut.h>
#include <wx/srchctrl.h> #include <wx/srchctrl.h>
#include <wx/timer.h> #include <wx/timer.h>
@ -25,6 +24,7 @@ class ShuttleGui;
#include "PrefsPanel.h" #include "PrefsPanel.h"
class wxRadioButton;
class wxStaticText; class wxStaticText;
class wxTextCtrl; class wxTextCtrl;
struct NormalizedKeyString; struct NormalizedKeyString;

View File

@ -30,7 +30,6 @@ class wxChoice;
class wxComboBox; class wxComboBox;
class wxCommandEvent; class wxCommandEvent;
class wxDC; class wxDC;
class wxRadioButton;
class wxSizeEvent; class wxSizeEvent;
class wxStaticText; class wxStaticText;

View File

@ -20,7 +20,6 @@ class wxChoice;
class wxComboBox; class wxComboBox;
class wxCommandEvent; class wxCommandEvent;
class wxDC; class wxDC;
class wxRadioButton;
class wxSizeEvent; class wxSizeEvent;
class SpectralSelectionBarListener; class SpectralSelectionBarListener;

View File

@ -21,7 +21,7 @@ tables, and automatically attaches and detaches the event handlers.
class wxCommandEvent; class wxCommandEvent;
class wxString; class wxString;
#include <vector> #include <vector>
#include <wx/menu.h> #include <wx/menu.h> // to inherit wxMenu
#include "../MemoryX.h" #include "../MemoryX.h"
#include "../TranslatableStringArray.h" #include "../TranslatableStringArray.h"