diff --git a/pcbnew/dialogs/wizard_3DShape_Libs_downloader.cpp b/pcbnew/dialogs/wizard_3DShape_Libs_downloader.cpp index 515b2afda2..4d4d54710c 100644 --- a/pcbnew/dialogs/wizard_3DShape_Libs_downloader.cpp +++ b/pcbnew/dialogs/wizard_3DShape_Libs_downloader.cpp @@ -359,6 +359,9 @@ bool WIZARD_3DSHAPE_LIBS_DOWNLOADER::downloadGithubLibsFromList( wxArrayString& // for OSX do not enable wPD_APP_MODAL, keep wxPD_AUTO_HIDE wxProgressDialog pdlg( _( "Downloading 3D libraries" ), wxEmptyString, aUrlList.GetCount(), this, +#ifndef __WXMAC__ + wxPD_APP_MODAL | +#endif wxPD_CAN_ABORT | wxPD_AUTO_HIDE ); // Built the full server name string: diff --git a/pcbnew/dialogs/wizard_add_fplib.cpp b/pcbnew/dialogs/wizard_add_fplib.cpp index 75b7481677..80c6e79026 100644 --- a/pcbnew/dialogs/wizard_add_fplib.cpp +++ b/pcbnew/dialogs/wizard_add_fplib.cpp @@ -608,7 +608,11 @@ bool WIZARD_FPLIB_TABLE::downloadGithubLibsFromList( wxArrayString& aUrlList, // Display a progress bar to show the downlaod state // for OSX do not enable wPD_APP_MODAL, keep wxPD_AUTO_HIDE wxProgressDialog pdlg( _( "Downloading libraries" ), wxEmptyString, aUrlList.GetCount(), - this, wxPD_CAN_ABORT | wxPD_AUTO_HIDE ); + this, +#ifndef __WXMAC__ + wxPD_APP_MODAL | +#endif + wxPD_CAN_ABORT | wxPD_AUTO_HIDE ); // Download libs: for( unsigned ii = 0; ii < aUrlList.GetCount(); ii++ ) @@ -793,7 +797,11 @@ void WIZARD_FPLIB_TABLE::setupReview() bool validate = true; // for OSX do not enable wPD_APP_MODAL, keep wxPD_AUTO_HIDE wxProgressDialog progressDlg( _( "Please wait..." ), _( "Validating libraries" ), - libTotalCount, this, wxPD_CAN_ABORT | wxPD_AUTO_HIDE ); + libTotalCount, this, +#ifndef __WXMAC__ + wxPD_APP_MODAL | +#endif + wxPD_CAN_ABORT | wxPD_AUTO_HIDE ); m_dvLibName->SetWidth( 280 );