1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-09 14:43:57 +01:00

Redo previous, not breaking Mac build if wxWidgets is not rebuilt

This commit is contained in:
Paul Licameli
2016-07-31 13:51:35 -04:00
parent c8e570797f
commit e0f1e9a5ff
4 changed files with 18 additions and 5 deletions

View File

@@ -1799,7 +1799,9 @@ bool AudioUnitEffect::PopulateUI(wxWindow *parent)
mParent->SetMinSize(wxDefaultSize);
#ifdef __WXMAC__
#ifdef __WX_EVTLOOP_BUSY_WAITING__
wxEventLoop::SetBusyWaiting(true);
#endif
#endif
}
@@ -1848,7 +1850,9 @@ bool AudioUnitEffect::HideUI()
bool AudioUnitEffect::CloseUI()
{
#ifdef __WXMAC__
#ifdef __WX_EVTLOOP_BUSY_WAITING__
wxEventLoop::SetBusyWaiting(false);
#endif
#endif
mParent->RemoveEventHandler(this);