Remove unnecessary semicolons

This commit is contained in:
Paul Licameli 2016-09-18 10:26:29 -04:00
parent 16e6629eca
commit 5d5edecca5
74 changed files with 145 additions and 145 deletions

View File

@ -110,7 +110,7 @@ private:
int mSelectedCommand; int mSelectedCommand;
bool mChanged; bool mChanged;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -118,7 +118,7 @@ private:
private: private:
FreqWindow *freqWindow; FreqWindow *freqWindow;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class FreqWindow final : public wxDialogWrapper class FreqWindow final : public wxDialogWrapper
@ -213,7 +213,7 @@ private:
std::unique_ptr<SpectrumAnalyst> mAnalyst; std::unique_ptr<SpectrumAnalyst> mAnalyst;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
friend class FreqPlot; friend class FreqPlot;
}; };

View File

@ -100,7 +100,7 @@ class LabelDialog final : public wxDialogWrapper
int mInitialRow; int mInitialRow;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -31,7 +31,7 @@ private:
void PopulateOrExchange(ShuttleGui& S); void PopulateOrExchange(ShuttleGui& S);
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -53,7 +53,7 @@ class TimeDialog final : public wxDialogWrapper
NumericTextCtrl *mTimeCtrl; NumericTextCtrl *mTimeCtrl;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -147,7 +147,7 @@ private:
wxString m_sTimerAfterCompleteOption; wxString m_sTimerAfterCompleteOption;
wxArrayString m_sTimerAfterCompleteOptionsArray; wxArrayString m_sTimerAfterCompleteOptionsArray;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -82,7 +82,7 @@ private:
wxTextCtrl *mNewPeakT; wxTextCtrl *mNewPeakT;
wxCheckBox *mClip; wxCheckBox *mClip;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif // __AUDACITY_EFFECT_AMPLIFY__ #endif // __AUDACITY_EFFECT_AMPLIFY__

View File

@ -85,7 +85,7 @@ private:
wxTextCtrl *mMaximumPauseBox; wxTextCtrl *mMaximumPauseBox;
EffectAutoDuckPanel *mPanel; EffectAutoDuckPanel *mPanel;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
friend class EffectAutoDuckPanel; friend class EffectAutoDuckPanel;
}; };
@ -132,7 +132,7 @@ private:
wxPoint mMouseDownPoint; wxPoint mMouseDownPoint;
bool mControlPointMoveActivated; bool mControlPointMoveActivated;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -122,7 +122,7 @@ private:
wxCheckBox *mLinkCheckBox; wxCheckBox *mLinkCheckBox;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -146,7 +146,7 @@ private:
wxCheckBox * mUseSBSMSCheckBox; wxCheckBox * mUseSBSMSCheckBox;
#endif #endif
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif // __AUDACITY_EFFECT_CHANGEPITCH__ #endif // __AUDACITY_EFFECT_CHANGEPITCH__

View File

@ -115,7 +115,7 @@ private:
double mToLength; // target length of selection double mToLength; // target length of selection
wxString mFormat; // time control format wxString mFormat; // time control format
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif // __AUDACITY_EFFECT_CHANGESPEED__ #endif // __AUDACITY_EFFECT_CHANGESPEED__

View File

@ -102,7 +102,7 @@ private:
wxCheckBox * mUseSBSMSCheckBox; wxCheckBox * mUseSBSMSCheckBox;
#endif #endif
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif // __AUDACITY_EFFECT_CHANGETEMPO__ #endif // __AUDACITY_EFFECT_CHANGETEMPO__

View File

@ -82,7 +82,7 @@ private:
wxTextCtrl *mWidthT; wxTextCtrl *mWidthT;
wxTextCtrl *mThreshT; wxTextCtrl *mThreshT;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -131,7 +131,7 @@ private:
wxCheckBox *mGainCheckBox; wxCheckBox *mGainCheckBox;
wxCheckBox *mPeakCheckBox; wxCheckBox *mPeakCheckBox;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class EffectCompressorPanel final : public wxPanelWrapper class EffectCompressorPanel final : public wxPanelWrapper
@ -151,7 +151,7 @@ private:
double & noiseFloor; double & noiseFloor;
double & ratio; double & ratio;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -212,7 +212,7 @@ private:
Params mParams; Params mParams;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -98,7 +98,7 @@ private:
wxStaticText *mDtmfSilenceT; wxStaticText *mDtmfSilenceT;
wxStaticText *mDtmfDutyT; wxStaticText *mDtmfDutyT;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -564,7 +564,7 @@ private:
int mType; int mType;
int mAdditionalButtons; int mAdditionalButtons;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
// //
@ -656,7 +656,7 @@ private:
bool mDismissed{}; bool mDismissed{};
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class EffectPresetsDialog final : public wxDialogWrapper class EffectPresetsDialog final : public wxDialogWrapper
@ -684,7 +684,7 @@ private:
wxArrayString mUserPresets; wxArrayString mUserPresets;
wxString mSelection; wxString mSelection;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
// Utility functions // Utility functions

View File

@ -272,7 +272,7 @@ private:
wxBoxSizer *szrM; wxBoxSizer *szrM;
#endif #endif
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
friend class EqualizationPanel; friend class EqualizationPanel;
friend class EditCurvesDialog; friend class EditCurvesDialog;
@ -324,7 +324,7 @@ private:
// double mLoFreq; // double mLoFreq;
// double mHiFreq; // double mHiFreq;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
// EditCurvesDialog. Note that the 'modified' curve used to be called 'custom' but is now called 'unnamed' // EditCurvesDialog. Note that the 'modified' curve used to be called 'custom' but is now called 'unnamed'

View File

@ -90,7 +90,7 @@ private:
bool mCreating; bool mCreating;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -59,7 +59,7 @@ private:
float mTime_resolution; //seconds float mTime_resolution; //seconds
double m_t1; double m_t1;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -146,7 +146,7 @@ private:
wxSlider *mFeedbackS; wxSlider *mFeedbackS;
wxSlider *mOutGainS; wxSlider *mOutGainS;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -62,7 +62,7 @@ private:
wxStaticText *mCurrentTime; wxStaticText *mCurrentTime;
wxStaticText *mTotalTime; wxStaticText *mTotalTime;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -422,15 +422,15 @@ void EffectReverb::PopulateOrExchange(ShuttleGui & S)
m ## n ## S = S.Id(ID_ ## n). \ m ## n ## S = S.Id(ID_ ## n). \
AddSlider(wxT(""), DEF_ ## n, MAX_ ## n, MIN_ ## n); AddSlider(wxT(""), DEF_ ## n, MAX_ ## n, MIN_ ## n);
SpinSlider(RoomSize, _("&Room Size (%):")); SpinSlider(RoomSize, _("&Room Size (%):"))
SpinSlider(PreDelay, _("&Pre-delay (ms):")); SpinSlider(PreDelay, _("&Pre-delay (ms):"))
SpinSlider(Reverberance, _("Rever&berance (%):")); SpinSlider(Reverberance, _("Rever&berance (%):"))
SpinSlider(HfDamping, _("Da&mping (%):")); SpinSlider(HfDamping, _("Da&mping (%):"))
SpinSlider(ToneLow, _("Tone &Low (%):")); SpinSlider(ToneLow, _("Tone &Low (%):"))
SpinSlider(ToneHigh, _("Tone &High (%):")); SpinSlider(ToneHigh, _("Tone &High (%):"))
SpinSlider(WetGain, _("Wet &Gain (dB):")); SpinSlider(WetGain, _("Wet &Gain (dB):"))
SpinSlider(DryGain, _("Dr&y Gain (dB):")); SpinSlider(DryGain, _("Dr&y Gain (dB):"))
SpinSlider(StereoWidth, _("Stereo Wid&th (%):")); SpinSlider(StereoWidth, _("Stereo Wid&th (%):"))
#undef SpinSlider #undef SpinSlider
@ -507,15 +507,15 @@ bool EffectReverb::TransferDataFromWindow()
mProcessingEvent = false; \ mProcessingEvent = false; \
} }
SpinSliderHandlers(RoomSize); SpinSliderHandlers(RoomSize)
SpinSliderHandlers(PreDelay); SpinSliderHandlers(PreDelay)
SpinSliderHandlers(Reverberance); SpinSliderHandlers(Reverberance)
SpinSliderHandlers(HfDamping); SpinSliderHandlers(HfDamping)
SpinSliderHandlers(ToneLow); SpinSliderHandlers(ToneLow)
SpinSliderHandlers(ToneHigh); SpinSliderHandlers(ToneHigh)
SpinSliderHandlers(WetGain); SpinSliderHandlers(WetGain)
SpinSliderHandlers(DryGain); SpinSliderHandlers(DryGain)
SpinSliderHandlers(StereoWidth); SpinSliderHandlers(StereoWidth)
#undef SpinSliderHandlers #undef SpinSliderHandlers

View File

@ -83,15 +83,15 @@ private:
void On ## n ## Slider(wxCommandEvent & evt); \ void On ## n ## Slider(wxCommandEvent & evt); \
void On ## n ## Text(wxCommandEvent & evt); void On ## n ## Text(wxCommandEvent & evt);
SpinSliderHandlers(RoomSize); SpinSliderHandlers(RoomSize)
SpinSliderHandlers(PreDelay); SpinSliderHandlers(PreDelay)
SpinSliderHandlers(Reverberance); SpinSliderHandlers(Reverberance)
SpinSliderHandlers(HfDamping); SpinSliderHandlers(HfDamping)
SpinSliderHandlers(ToneLow); SpinSliderHandlers(ToneLow)
SpinSliderHandlers(ToneHigh); SpinSliderHandlers(ToneHigh)
SpinSliderHandlers(WetGain); SpinSliderHandlers(WetGain)
SpinSliderHandlers(DryGain); SpinSliderHandlers(DryGain)
SpinSliderHandlers(StereoWidth); SpinSliderHandlers(StereoWidth)
#undef SpinSliderHandlers #undef SpinSliderHandlers
@ -107,21 +107,21 @@ private:
wxSpinCtrl *m ## n ## T; \ wxSpinCtrl *m ## n ## T; \
wxSlider *m ## n ## S; wxSlider *m ## n ## S;
SpinSlider(RoomSize); SpinSlider(RoomSize)
SpinSlider(PreDelay); SpinSlider(PreDelay)
SpinSlider(Reverberance); SpinSlider(Reverberance)
SpinSlider(HfDamping); SpinSlider(HfDamping)
SpinSlider(ToneLow); SpinSlider(ToneLow)
SpinSlider(ToneHigh); SpinSlider(ToneHigh)
SpinSlider(WetGain); SpinSlider(WetGain)
SpinSlider(DryGain); SpinSlider(DryGain)
SpinSlider(StereoWidth); SpinSlider(StereoWidth)
#undef SpinSlider #undef SpinSlider
wxCheckBox *mWetOnlyC; wxCheckBox *mWetOnlyC;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -130,7 +130,7 @@ private:
RulerPanel *mdBRuler; RulerPanel *mdBRuler;
RulerPanel *mfreqRuler; RulerPanel *mfreqRuler;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
friend class EffectScienFilterPanel; friend class EffectScienFilterPanel;
}; };
@ -170,7 +170,7 @@ private:
friend class EffectScienFilter; friend class EffectScienFilter;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY

View File

@ -104,7 +104,7 @@ private:
wxTextCtrl *m_pTextCtrl_PitchPercentChangeStart; wxTextCtrl *m_pTextCtrl_PitchPercentChangeStart;
wxTextCtrl *m_pTextCtrl_PitchPercentChangeEnd; wxTextCtrl *m_pTextCtrl_PitchPercentChangeEnd;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif // __AUDACITY_EFFECT_TIMESCALE #endif // __AUDACITY_EFFECT_TIMESCALE

View File

@ -79,7 +79,7 @@ private:
wxArrayString mInterpolations; wxArrayString mInterpolations;
NumericTextCtrl *mToneDurationT; NumericTextCtrl *mToneDurationT;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -113,7 +113,7 @@ private:
wxTextCtrl *mSilenceCompressPercentT; wxTextCtrl *mSilenceCompressPercentT;
wxCheckBox *mIndependent; wxCheckBox *mIndependent;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -154,7 +154,7 @@ public:
void OnExit() {}; void OnExit() {};
DECLARE_DYNAMIC_CLASS(VSTSubEntry); DECLARE_DYNAMIC_CLASS(VSTSubEntry)
}; };
IMPLEMENT_DYNAMIC_CLASS(VSTSubEntry, wxModule); IMPLEMENT_DYNAMIC_CLASS(VSTSubEntry, wxModule);

View File

@ -354,7 +354,7 @@ private:
long mXMLVersion; long mXMLVersion;
VstPatchChunkInfo mXMLInfo; VstPatchChunkInfo mXMLInfo;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
friend class VSTEffectsModule; friend class VSTEffectsModule;
}; };

View File

@ -138,7 +138,7 @@ private:
wxSlider *mFreqOfsS; wxSlider *mFreqOfsS;
wxSlider *mOutGainS; wxSlider *mOutGainS;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -65,7 +65,7 @@ private:
HIViewRef mHIView; HIViewRef mHIView;
#endif #endif
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -447,7 +447,7 @@ private:
float mMax; float mMax;
float mLastValue; float mLastValue;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
BEGIN_EVENT_TABLE(LadspaEffectMeter, wxWindow) BEGIN_EVENT_TABLE(LadspaEffectMeter, wxWindow)

View File

@ -191,7 +191,7 @@ private:
wxCheckBox **mToggles; wxCheckBox **mToggles;
LadspaEffectMeter **mMeters; LadspaEffectMeter **mMeters;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
friend class LadspaEffectsModule; friend class LadspaEffectsModule;
}; };

View File

@ -87,7 +87,7 @@ private:
const LV2Port & mCtrl; const LV2Port & mCtrl;
float mLastValue; float mLastValue;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
BEGIN_EVENT_TABLE(LV2EffectMeter, wxWindow) BEGIN_EVENT_TABLE(LV2EffectMeter, wxWindow)
@ -182,7 +182,7 @@ private:
bool mUseLatency; bool mUseLatency;
bool mUseGUI; bool mUseGUI;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
BEGIN_EVENT_TABLE(LV2EffectSettingsDialog, wxDialogWrapper) BEGIN_EVENT_TABLE(LV2EffectSettingsDialog, wxDialogWrapper)

View File

@ -248,7 +248,7 @@ private:
// Declare the static URI nodes // Declare the static URI nodes
#undef URI #undef URI
#define URI(n, u) static LilvNode *n; #define URI(n, u) static LilvNode *n;
URILIST; URILIST
const LilvPlugin *mPlug; const LilvPlugin *mPlug;
@ -321,7 +321,7 @@ private:
wxArrayString mFactoryPresetNames; wxArrayString mFactoryPresetNames;
wxArrayString mFactoryPresetUris; wxArrayString mFactoryPresetUris;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
friend class LV2EffectSettingsDialog; friend class LV2EffectSettingsDialog;
friend class LV2EffectsModule; friend class LV2EffectsModule;

View File

@ -237,7 +237,7 @@ private:
wxTextCtrl *mCommandText; wxTextCtrl *mCommandText;
wxCheckBox *mVersionCheckBox; wxCheckBox *mVersionCheckBox;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
friend class NyquistEffectsModule; friend class NyquistEffectsModule;
}; };
@ -254,7 +254,7 @@ private:
void OnOk(wxCommandEvent & event); void OnOk(wxCommandEvent & event);
private: private:
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };

View File

@ -108,7 +108,7 @@ private:
wxChoice **mChoices; wxChoice **mChoices;
wxChoice *mProgram; wxChoice *mProgram;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -210,7 +210,7 @@ private:
wxSimplebook *mBook; wxSimplebook *mBook;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------

View File

@ -161,7 +161,7 @@ public:
private: private:
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
/// Entry for the Applicability table /// Entry for the Applicability table
@ -217,7 +217,7 @@ private:
wxArrayString mCodecLongNames; wxArrayString mCodecLongNames;
wxArrayString mProfileNames; wxArrayString mProfileNames;
wxArrayInt mProfileLabels; wxArrayInt mProfileLabels;
wxArrayString mPredictionOrderMethodNames;; wxArrayString mPredictionOrderMethodNames;
wxArrayInt mPredictionOrderMethodLabels; wxArrayInt mPredictionOrderMethodLabels;
wxChoice *mFormatChoice; wxChoice *mFormatChoice;

View File

@ -31,7 +31,7 @@ private:
void Populate(); void Populate();
void PopulateOrExchange(ShuttleGui & S); void PopulateOrExchange(ShuttleGui & S);
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class BatchPrefsFactory final : public PrefsPanelFactory class BatchPrefsFactory final : public PrefsPanelFactory

View File

@ -51,7 +51,7 @@ class DevicePrefs final : public PrefsPanel
wxChoice *mRecord; wxChoice *mRecord;
wxChoice *mChannels; wxChoice *mChannels;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class DevicePrefsFactory final : public PrefsPanelFactory class DevicePrefsFactory final : public PrefsPanelFactory

View File

@ -35,7 +35,7 @@ class DirectoriesPrefs final : public PrefsPanel
wxStaticText *mFreeSpace; wxStaticText *mFreeSpace;
wxTextCtrl *mTempDir; wxTextCtrl *mTempDir;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class DirectoriesPrefsFactory final : public PrefsPanelFactory class DirectoriesPrefsFactory final : public PrefsPanelFactory

View File

@ -88,7 +88,7 @@ private:
wxArrayString mKeys; wxArrayString mKeys;
wxArrayString mNewKeys; // Used for work in progress. wxArrayString mNewKeys; // Used for work in progress.
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#else #else
@ -143,7 +143,7 @@ class KeyConfigPrefs final : public PrefsPanel
wxArrayString mKeys; wxArrayString mKeys;
wxArrayString mNewKeys; // Used for work in progress. wxArrayString mNewKeys; // Used for work in progress.
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -43,7 +43,7 @@ class LibraryPrefs final : public PrefsPanel
wxStaticText *mMP3Version; wxStaticText *mMP3Version;
wxStaticText *mFFmpegVersion; wxStaticText *mFFmpegVersion;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class LibraryPrefsFactory final : public PrefsPanelFactory class LibraryPrefsFactory final : public PrefsPanelFactory

View File

@ -59,7 +59,7 @@ class MidiIOPrefs final : public PrefsPanel
#endif #endif
// wxChoice *mChannels; // wxChoice *mChannels;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class MidiIOPrefsFactory final : public PrefsPanelFactory class MidiIOPrefsFactory final : public PrefsPanelFactory

View File

@ -50,7 +50,7 @@ class QualityPrefs final : public PrefsPanel
wxTextCtrl *mOtherSampleRate; wxTextCtrl *mOtherSampleRate;
int mOtherSampleRateValue; int mOtherSampleRateValue;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class QualityPrefsFactory final : public PrefsPanelFactory class QualityPrefsFactory final : public PrefsPanelFactory

View File

@ -37,7 +37,7 @@ class RecordingPrefs final : public PrefsPanel
bool mUseCustomTrackName; bool mUseCustomTrackName;
bool mOldNameChoice; bool mOldNameChoice;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class RecordingPrefsFactory final : public PrefsPanelFactory class RecordingPrefsFactory final : public PrefsPanelFactory

View File

@ -38,7 +38,7 @@ class ThemePrefs final : public PrefsPanel
void OnReadThemeInternal(wxCommandEvent & e); void OnReadThemeInternal(wxCommandEvent & e);
void OnSaveThemeAsCode(wxCommandEvent & e); void OnSaveThemeAsCode(wxCommandEvent & e);
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class ThemePrefsFactory final : public PrefsPanelFactory class ThemePrefsFactory final : public PrefsPanelFactory

View File

@ -171,8 +171,8 @@ class ControlToolBar final : public ToolBar {
public: public:
DECLARE_CLASS(ControlToolBar); DECLARE_CLASS(ControlToolBar)
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -77,8 +77,8 @@ class DeviceToolBar final : public ToolBar {
public: public:
DECLARE_CLASS(DeviceToolBar); DECLARE_CLASS(DeviceToolBar)
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -93,8 +93,8 @@ class EditToolBar final : public ToolBar {
public: public:
DECLARE_CLASS(EditToolBar); DECLARE_CLASS(EditToolBar)
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -63,8 +63,8 @@ class MeterToolBar final : public ToolBar {
public: public:
DECLARE_CLASS(MeterToolBar); DECLARE_CLASS(MeterToolBar)
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };

View File

@ -68,8 +68,8 @@ class MixerToolBar final : public ToolBar {
public: public:
DECLARE_CLASS(MixerToolBar); DECLARE_CLASS(MixerToolBar)
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -69,8 +69,8 @@ private:
public: public:
DECLARE_CLASS(EditToolBar); DECLARE_CLASS(EditToolBar)
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -92,8 +92,8 @@ class SelectionBar final : public ToolBar {
public: public:
DECLARE_CLASS(SelectionBar); DECLARE_CLASS(SelectionBar)
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -76,8 +76,8 @@ private:
public: public:
DECLARE_CLASS(SpectralSelectionBar); DECLARE_CLASS(SpectralSelectionBar)
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -91,7 +91,7 @@ private:
wxSize mOrigSize; wxSize mOrigSize;
wxWindow *mOrigFocus{}; wxWindow *mOrigFocus{};
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
// //

View File

@ -234,8 +234,8 @@ class ToolBar /* not final */ : public wxPanelWrapper
public: public:
DECLARE_CLASS(ToolBar); DECLARE_CLASS(ToolBar)
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
friend class ToolBarResizer; friend class ToolBarResizer;
}; };

View File

@ -340,8 +340,8 @@ public:
public: public:
DECLARE_CLASS( ToolDock ); DECLARE_CLASS( ToolDock )
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -122,8 +122,8 @@ class ToolManager final : public wxEvtHandler
public: public:
DECLARE_CLASS( ToolManager ); DECLARE_CLASS( ToolManager )
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
@ -181,8 +181,8 @@ private:
public: public:
DECLARE_CLASS( ToolFrame ); DECLARE_CLASS( ToolFrame )
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };

View File

@ -82,8 +82,8 @@ class ToolsToolBar final : public ToolBar {
public: public:
DECLARE_CLASS(ToolsToolBar); DECLARE_CLASS(ToolsToolBar)
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -157,8 +157,8 @@ class TranscriptionToolBar final : public ToolBar {
public: public:
DECLARE_CLASS(TranscriptionToolBar); DECLARE_CLASS(TranscriptionToolBar)
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -59,8 +59,8 @@ public:
void OnKeyUp(wxKeyEvent & event); void OnKeyUp(wxKeyEvent & event);
void OnTimer(wxTimerEvent & event); void OnTimer(wxTimerEvent & event);
DECLARE_CLASS(AButton::Listener); DECLARE_CLASS(AButton::Listener)
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
private: private:
AButton *mButton; AButton *mButton;

View File

@ -40,7 +40,7 @@ public:
void SetViewInfoFromScrollBar(); void SetViewInfoFromScrollBar();
ViewInfo * mpViewInfo; ViewInfo * mpViewInfo;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif // __AUDACITY_ATTACHABLE_SCROLL_BAR__ #endif // __AUDACITY_ATTACHABLE_SCROLL_BAR__

View File

@ -309,7 +309,7 @@ protected:
wxWindow *mWindow; wxWindow *mWindow;
wxEvtHandler *mInheritedEvtHandler; wxEvtHandler *mInheritedEvtHandler;
DECLARE_NO_COPY_CLASS(ExpandingToolBarEvtHandler); DECLARE_NO_COPY_CLASS(ExpandingToolBarEvtHandler)
}; };
void ExpandingToolBar::RecursivelyPushEventHandlers(wxWindow *win) void ExpandingToolBar::RecursivelyPushEventHandlers(wxWindow *win)

View File

@ -121,7 +121,7 @@ class ExpandingToolBar final : public wxPanelWrapper
static int msNoAutoExpandStack; static int msNoAutoExpandStack;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
friend class ExpandingToolBarEvtHandler; friend class ExpandingToolBarEvtHandler;
std::vector< movable_ptr< ExpandingToolBarEvtHandler > > mHandlers; std::vector< movable_ptr< ExpandingToolBarEvtHandler > > mHandlers;
@ -130,7 +130,7 @@ class ExpandingToolBar final : public wxPanelWrapper
class ToolBarGrabber final : public wxPanelWrapper class ToolBarGrabber final : public wxPanelWrapper
{ {
public: public:
DECLARE_DYNAMIC_CLASS(ToolBarGrabber); DECLARE_DYNAMIC_CLASS(ToolBarGrabber)
ToolBarGrabber(wxWindow *parent, ToolBarGrabber(wxWindow *parent,
wxWindowID id, wxWindowID id,
@ -147,7 +147,7 @@ class ToolBarGrabber final : public wxPanelWrapper
ImageRoll mImageRoll[2]; ImageRoll mImageRoll[2];
ExpandingToolBar *mOwnerToolBar; ExpandingToolBar *mOwnerToolBar;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class ToolBarDialog final : public wxDialogWrapper class ToolBarDialog final : public wxDialogWrapper

View File

@ -132,7 +132,7 @@ class Grabber final : public wxWindow
public: public:
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#endif #endif

View File

@ -232,7 +232,7 @@ class Grid final : public wxGrid
public: public:
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY

View File

@ -70,7 +70,7 @@ class ImageRoll
class ImageRollPanel final : public wxPanelWrapper class ImageRollPanel final : public wxPanelWrapper
{ {
public: public:
DECLARE_DYNAMIC_CLASS(ImageRollPanel); DECLARE_DYNAMIC_CLASS(ImageRollPanel)
ImageRollPanel(wxWindow *parent, ImageRollPanel(wxWindow *parent,
wxWindowID id, wxWindowID id,
@ -89,7 +89,7 @@ class ImageRollPanel final : public wxPanelWrapper
wxRasterOperationMode mLogicalFunction; wxRasterOperationMode mLogicalFunction;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };

View File

@ -162,7 +162,7 @@ private:
KeyViewAx *mAx; KeyViewAx *mAx;
#endif #endif
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
#if wxUSE_ACCESSIBILITY #if wxUSE_ACCESSIBILITY

View File

@ -142,7 +142,7 @@ class NumericTextCtrl final : public wxControl, public NumericConverter
friend class NumericTextCtrlAx; friend class NumericTextCtrlAx;
public: public:
DECLARE_DYNAMIC_CLASS(NumericTextCtrl); DECLARE_DYNAMIC_CLASS(NumericTextCtrl)
NumericTextCtrl(NumericConverter::Type type, NumericTextCtrl(NumericConverter::Type type,
wxWindow *parent, wxWindow *parent,

View File

@ -125,7 +125,7 @@ private:
int mLastW; int mLastW;
int mLastH; int mLastH;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
}; };
class AUDACITY_DLL_API TimerProgressDialog final : public ProgressDialog class AUDACITY_DLL_API TimerProgressDialog final : public ProgressDialog

View File

@ -126,9 +126,9 @@ private:
// Combination of wxVAL_NUM_XXX values. // Combination of wxVAL_NUM_XXX values.
int m_style; int m_style;
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE()
DECLARE_NO_ASSIGN_CLASS(NumValidatorBase); DECLARE_NO_ASSIGN_CLASS(NumValidatorBase)
}; };
namespace Private namespace Private
@ -257,7 +257,7 @@ private:
ValueType * const m_value; ValueType * const m_value;
DECLARE_NO_ASSIGN_CLASS(NumValidator); DECLARE_NO_ASSIGN_CLASS(NumValidator)
}; };
} // namespace Private } // namespace Private
@ -322,7 +322,7 @@ private:
// Minimal and maximal values accepted (inclusive). // Minimal and maximal values accepted (inclusive).
LongestValueType m_min, m_max; LongestValueType m_min, m_max;
DECLARE_NO_ASSIGN_CLASS(IntegerValidatorBase); DECLARE_NO_ASSIGN_CLASS(IntegerValidatorBase)
}; };
// Validator for integer numbers. It can actually work with any integer type // Validator for integer numbers. It can actually work with any integer type
@ -353,7 +353,7 @@ public:
wxObject *Clone() const override { return safenew IntegerValidator(*this); } wxObject *Clone() const override { return safenew IntegerValidator(*this); }
private: private:
DECLARE_NO_ASSIGN_CLASS(IntegerValidator); DECLARE_NO_ASSIGN_CLASS(IntegerValidator)
}; };
// Helper function for creating integer validators which allows to avoid // Helper function for creating integer validators which allows to avoid
@ -425,7 +425,7 @@ private:
// Minimal and maximal values accepted (inclusive). // Minimal and maximal values accepted (inclusive).
LongestValueType m_min, m_max; LongestValueType m_min, m_max;
DECLARE_NO_ASSIGN_CLASS(FloatingPointValidatorBase); DECLARE_NO_ASSIGN_CLASS(FloatingPointValidatorBase)
}; };
// Validator for floating point numbers. It can be used with float, double or // Validator for floating point numbers. It can be used with float, double or