1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Bug 2703 - Mac: EGAT preview dialog is hidden behind the EGAT dialog

This commit is contained in:
Leland Lucius 2021-03-28 23:01:20 -05:00
parent 895c527b6a
commit 7ad50cb0ca

View File

@ -1159,6 +1159,11 @@ bool ProgressDialog::Create(const TranslatableString & title,
wxWindow *parent =
#if defined(__WXMAC__),
// Bug 2703: In release builds, the progress dialog will fall behind
// the top level dialog (like effects dialogs). This does not happen
// in debug builds and I was not able to track down the reason. So,
// this is a workaround and should be reviewed as some point, like
// when upgrading to the next WX version.
GetParentForModalDialog(mHadFocus, 0);
#else
GetParentForModalDialog(nullptr, 0);