This commit is contained in:
david avery 2015-05-16 14:40:29 -06:00
parent 193603551f
commit 72385c7faf
2 changed files with 5 additions and 1 deletions

View File

@ -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...

View File

@ -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();