1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

Recode the Apply button of Spectrogram Preferences so it is next to OK/Cancel

This commit is contained in:
Paul Licameli
2015-08-20 13:24:55 -04:00
parent 8c58e0ea71
commit 1eef41607e
7 changed files with 70 additions and 46 deletions

View File

@@ -44,6 +44,7 @@ class SpectrumPrefs:public PrefsPanel
SpectrumPrefs(wxWindow * parent, WaveTrack *wt);
virtual ~SpectrumPrefs();
virtual bool Apply();
virtual bool ShowsApplyButton();
virtual bool Validate();
private:
@@ -55,7 +56,6 @@ class SpectrumPrefs:public PrefsPanel
void OnWindowSize(wxCommandEvent &event);
void OnDefaults(wxCommandEvent&);
void OnAlgorithm(wxCommandEvent &);
void OnApply(wxCommandEvent &);
DECLARE_EVENT_TABLE()
void EnableDisableSTFTOnlyControls();