1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-06 03:32:09 +01:00

Fix many wx3.1.0 assertions now to prevent double testing

This commit is contained in:
Leland Lucius
2015-07-30 02:02:59 -05:00
parent 9d6fb54806
commit 1e195ecea6
18 changed files with 53 additions and 45 deletions

View File

@@ -296,7 +296,7 @@ FreqWindow::FreqWindow(wxWindow * parent, wxWindowID id,
mFreqPlot = new FreqPlot(this);
mFreqPlot->SetMinSize(wxSize(wxDefaultCoord, FREQ_WINDOW_HEIGHT));
S.Prop(1);
S.AddWindow(mFreqPlot, wxEXPAND | wxALIGN_CENTRE);
S.AddWindow(mFreqPlot, wxEXPAND);
S.StartHorizontalLay(wxEXPAND, 0);
{
@@ -476,7 +476,7 @@ FreqWindow::FreqWindow(wxWindow * parent, wxWindowID id,
S.AddSpace(5);
mProgress = new FreqGauge(this); //, wxID_ANY, wxST_SIZEGRIP);
S.AddWindow(mProgress, wxEXPAND | wxALIGN_BOTTOM);
S.AddWindow(mProgress, wxEXPAND);
// Log-frequency axis works for spectrum plots only.
if (mAlg != SpectrumAnalyst::Spectrum)