1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00

Fix for bug #1105 part deux

This commit is contained in:
Leland Lucius 2015-09-02 00:52:20 -05:00
parent 4d77b9091f
commit 2ae7fb18e9

View File

@ -993,7 +993,11 @@ void FreqWindow::Recalc()
int windowFunc = mFuncChoice->GetSelection();
wxWindow *hadFocus = FindFocus();
wxWindowDisabler *blocker = new wxWindowDisabler(mProgress);
// In wxMac, the skipped window MUST be a top level window. I'd originally made it
// just the mProgress window with the idea of preventing user interaction with the
// controls while the plot was being recalculated. This doesn't appear to be necessary
// so just use the the top level window instead.
wxWindowDisabler *blocker = new wxWindowDisabler(this);
wxYieldIfNeeded();
mAnalyst->Calculate(alg, windowFunc, mWindowSize, mRate,