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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user