diff --git a/src/widgets/ProgressDialog.cpp b/src/widgets/ProgressDialog.cpp index a902fc866..cca81b77c 100644 --- a/src/widgets/ProgressDialog.cpp +++ b/src/widgets/ProgressDialog.cpp @@ -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);