1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 07:59:27 +02:00

Some wx3 fixes

This commit is contained in:
Leland Lucius 2015-07-28 15:47:19 -05:00
parent e4fec26d10
commit 1b07ae1ad1
3 changed files with 3 additions and 4 deletions

View File

@ -1564,7 +1564,6 @@ bool AudacityApp::InitTempDir()
// Failed // Failed
wxMessageBox(_("Audacity could not find a place to store temporary files.\nPlease enter an appropriate directory in the preferences dialog.")); wxMessageBox(_("Audacity could not find a place to store temporary files.\nPlease enter an appropriate directory in the preferences dialog."));
PrefsDialog dialog(NULL);
// Only want one page of the preferences // Only want one page of the preferences
DirectoriesPrefsFactory directoriesPrefsFactory; DirectoriesPrefsFactory directoriesPrefsFactory;
PrefsDialog::Factories factories; PrefsDialog::Factories factories;

View File

@ -1054,7 +1054,7 @@ void TrackPanel::OnTimer()
{ {
wxCommandEvent e(EVT_TRACK_PANEL_TIMER); wxCommandEvent e(EVT_TRACK_PANEL_TIMER);
p->ProcessEvent(e); p->GetEventHandler()->ProcessEvent(e);
} }
#ifdef EXPERIMENTAL_SCRUBBING_BASIC #ifdef EXPERIMENTAL_SCRUBBING_BASIC

View File

@ -341,13 +341,13 @@ void SpectrogramSettings::SavePrefs()
gPrefs->Write(wxT("/Spectrum/Grayscale"), isGrayscale); gPrefs->Write(wxT("/Spectrum/Grayscale"), isGrayscale);
gPrefs->Write(wxT("/Spectrum/ScaleType"), scaleType); gPrefs->Write(wxT("/Spectrum/ScaleType"), (int) scaleType);
#ifndef SPECTRAL_SELECTION_GLOBAL_SWITCH #ifndef SPECTRAL_SELECTION_GLOBAL_SWITCH
gPrefs->Write(wxT("/Spectrum/EnableSpectralSelection"), spectralSelection); gPrefs->Write(wxT("/Spectrum/EnableSpectralSelection"), spectralSelection);
#endif #endif
gPrefs->Write(wxT("/Spectrum/Algorithm"), algorithm); gPrefs->Write(wxT("/Spectrum/Algorithm"), (int) algorithm);
#ifdef EXPERIMENTAL_FFT_Y_GRID #ifdef EXPERIMENTAL_FFT_Y_GRID
gPrefs->Write(wxT("/Spectrum/FFTYGrid"), fftYGrid); gPrefs->Write(wxT("/Spectrum/FFTYGrid"), fftYGrid);