diff --git a/src/effects/Effect.cpp b/src/effects/Effect.cpp index 720eb1ec2..c2bf55d53 100644 --- a/src/effects/Effect.cpp +++ b/src/effects/Effect.cpp @@ -2967,7 +2967,7 @@ void EffectUIHost::OnInitDialog(wxInitDialogEvent & evt) wxDialog::OnInitDialog(evt); #if wxCHECK_VERSION(3, 0, 0) -#warning "check to see if this still needed in wx3" +//#warning "check to see if this still needed in wx3" #endif // Pure hackage coming down the pike... diff --git a/src/widgets/ErrorDialog.h b/src/widgets/ErrorDialog.h index b717a52b9..122e8409b 100644 --- a/src/widgets/ErrorDialog.h +++ b/src/widgets/ErrorDialog.h @@ -46,11 +46,15 @@ class HtmlTextHelpDialog : public BrowserFrame public: HtmlTextHelpDialog() : BrowserFrame() { +#if !wxCHECK_VERSION(3, 1, 0) MakeModal( true ); +#endif } virtual ~HtmlTextHelpDialog() { +#if !wxCHECK_VERSION(3, 1, 0) MakeModal( false ); +#endif // On Windows, for some odd reason, the Audacity window will be sent to // the back. So, make sure that doesn't happen. GetParent()->Raise();