mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-29 23:19:28 +02:00
Some wx3 fixes
This commit is contained in:
parent
e4fec26d10
commit
1b07ae1ad1
@ -1564,7 +1564,6 @@ bool AudacityApp::InitTempDir()
|
||||
// Failed
|
||||
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
|
||||
DirectoriesPrefsFactory directoriesPrefsFactory;
|
||||
PrefsDialog::Factories factories;
|
||||
|
@ -1054,7 +1054,7 @@ void TrackPanel::OnTimer()
|
||||
|
||||
{
|
||||
wxCommandEvent e(EVT_TRACK_PANEL_TIMER);
|
||||
p->ProcessEvent(e);
|
||||
p->GetEventHandler()->ProcessEvent(e);
|
||||
}
|
||||
|
||||
#ifdef EXPERIMENTAL_SCRUBBING_BASIC
|
||||
|
@ -341,13 +341,13 @@ void SpectrogramSettings::SavePrefs()
|
||||
|
||||
gPrefs->Write(wxT("/Spectrum/Grayscale"), isGrayscale);
|
||||
|
||||
gPrefs->Write(wxT("/Spectrum/ScaleType"), scaleType);
|
||||
gPrefs->Write(wxT("/Spectrum/ScaleType"), (int) scaleType);
|
||||
|
||||
#ifndef SPECTRAL_SELECTION_GLOBAL_SWITCH
|
||||
gPrefs->Write(wxT("/Spectrum/EnableSpectralSelection"), spectralSelection);
|
||||
#endif
|
||||
|
||||
gPrefs->Write(wxT("/Spectrum/Algorithm"), algorithm);
|
||||
gPrefs->Write(wxT("/Spectrum/Algorithm"), (int) algorithm);
|
||||
|
||||
#ifdef EXPERIMENTAL_FFT_Y_GRID
|
||||
gPrefs->Write(wxT("/Spectrum/FFTYGrid"), fftYGrid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user