mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02:00
Fix mac build breakage of 3b312f9d1bef303b99e1ddff6f1c84523d02f3d7 ...
... Warnings have been treated as errors in Xcode project settings since 2.3.1, and there ware warnings about using override on only some but not all overridden virtual functions in the PrefsPanel subclasses.
This commit is contained in:
parent
c1a8c7a76e
commit
9eab996489
@ -25,8 +25,8 @@ class BatchPrefs final : public PrefsPanel
|
||||
public:
|
||||
BatchPrefs(wxWindow * parent, wxWindowID winid);
|
||||
~BatchPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
wxString HelpPageName() override;
|
||||
|
||||
bool Commit() override;
|
||||
|
@ -27,8 +27,8 @@ class DevicePrefs final : public PrefsPanel
|
||||
public:
|
||||
DevicePrefs(wxWindow * parent, wxWindowID winid);
|
||||
virtual ~DevicePrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -25,8 +25,8 @@ class DirectoriesPrefs final : public PrefsPanel
|
||||
public:
|
||||
DirectoriesPrefs(wxWindow * parent, wxWindowID winid);
|
||||
~DirectoriesPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
bool Validate() override;
|
||||
|
@ -26,8 +26,8 @@ class EffectsPrefs final : public PrefsPanel
|
||||
public:
|
||||
EffectsPrefs(wxWindow * parent, wxWindowID winid);
|
||||
~EffectsPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -51,8 +51,8 @@ class ExtImportPrefs final : public PrefsPanel
|
||||
public:
|
||||
ExtImportPrefs(wxWindow * parent, wxWindowID winid);
|
||||
~ExtImportPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -27,8 +27,8 @@ class GUIPrefs final : public PrefsPanel
|
||||
public:
|
||||
GUIPrefs(wxWindow * parent, wxWindowID winid);
|
||||
~GUIPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -26,8 +26,8 @@ class ImportExportPrefs final : public PrefsPanel
|
||||
public:
|
||||
ImportExportPrefs(wxWindow * parent, wxWindowID winid);
|
||||
~ImportExportPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -33,8 +33,8 @@ class KeyConfigPrefs final : public PrefsPanel
|
||||
{
|
||||
public:
|
||||
KeyConfigPrefs(wxWindow * parent, wxWindowID winid, const CommandID &name);
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
void Cancel() override;
|
||||
|
@ -27,8 +27,8 @@ class LibraryPrefs final : public PrefsPanel
|
||||
public:
|
||||
LibraryPrefs(wxWindow * parent, wxWindowID winid);
|
||||
~LibraryPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -33,8 +33,8 @@ class MidiIOPrefs final : public PrefsPanel
|
||||
public:
|
||||
MidiIOPrefs(wxWindow * parent, wxWindowID winid);
|
||||
virtual ~MidiIOPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
bool Validate() override;
|
||||
|
@ -37,8 +37,8 @@ class ModulePrefs final : public PrefsPanel
|
||||
public:
|
||||
ModulePrefs(wxWindow * parent, wxWindowID winid);
|
||||
~ModulePrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -23,8 +23,8 @@ class MousePrefs final : public PrefsPanel
|
||||
public:
|
||||
MousePrefs(wxWindow * parent, wxWindowID winid);
|
||||
~MousePrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -25,8 +25,8 @@ class PlaybackPrefs final : public PrefsPanel
|
||||
public:
|
||||
PlaybackPrefs(wxWindow * parent, wxWindowID winid);
|
||||
virtual ~PlaybackPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -26,8 +26,8 @@ class ProjectsPrefs final : public PrefsPanel
|
||||
public:
|
||||
ProjectsPrefs(wxWindow * parent, wxWindowID winid);
|
||||
~ProjectsPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -32,8 +32,8 @@ class QualityPrefs final : public PrefsPanel
|
||||
public:
|
||||
QualityPrefs(wxWindow * parent, wxWindowID winid);
|
||||
virtual ~QualityPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -26,8 +26,8 @@ class RecordingPrefs final : public PrefsPanel
|
||||
public:
|
||||
RecordingPrefs(wxWindow * parent, wxWindowID winid);
|
||||
virtual ~RecordingPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -46,8 +46,8 @@ class SpectrumPrefs final : public PrefsPanel
|
||||
public:
|
||||
SpectrumPrefs(wxWindow * parent, wxWindowID winid, WaveTrack *wt);
|
||||
virtual ~SpectrumPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
void Preview() override;
|
||||
bool Commit() override;
|
||||
|
@ -27,8 +27,8 @@ class ThemePrefs final : public PrefsPanel
|
||||
public:
|
||||
ThemePrefs(wxWindow * parent, wxWindowID winid);
|
||||
~ThemePrefs(void);
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -26,8 +26,8 @@ class TracksBehaviorsPrefs final : public PrefsPanel
|
||||
public:
|
||||
TracksBehaviorsPrefs(wxWindow * parent, wxWindowID winid);
|
||||
~TracksBehaviorsPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -28,8 +28,8 @@ class TracksPrefs final : public PrefsPanel
|
||||
public:
|
||||
TracksPrefs(wxWindow * parent, wxWindowID winid);
|
||||
~TracksPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -26,8 +26,8 @@ class WarningsPrefs final : public PrefsPanel
|
||||
public:
|
||||
WarningsPrefs(wxWindow * parent, wxWindowID winid);
|
||||
~WarningsPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
|
@ -29,8 +29,8 @@ class WaveformPrefs final : public PrefsPanel
|
||||
public:
|
||||
WaveformPrefs(wxWindow * parent, wxWindowID winid, WaveTrack *wt);
|
||||
virtual ~WaveformPrefs();
|
||||
virtual ComponentInterfaceSymbol GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
wxString HelpPageName() override;
|
||||
|
||||
bool Commit() override;
|
||||
|
Loading…
x
Reference in New Issue
Block a user