1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-30 15:39:27 +02:00
This commit is contained in:
david avery 2015-05-16 14:38:51 -06:00
parent f0cd43236d
commit 193603551f

View File

@ -1392,8 +1392,11 @@ ProgressDialog::Update(int value, const wxString & message)
mLastUpdate = now;
}
#if wxCHECK_VERSION(3, 0, 0)
wxEventLoopBase *loop = wxEventLoop::GetActive();
#else
wxEventLoop *loop = wxEventLoop::GetActive();
#endif
if (loop)
{
int i = 10;
@ -1627,7 +1630,11 @@ int TimerProgressDialog::Update(const wxString & message /*= wxEmptyString*/)
mLastUpdate = now;
}
#if wxCHECK_VERSION(3, 0, 0)
wxEventLoopBase *loop = wxEventLoop::GetActive();
#else
wxEventLoop *loop = wxEventLoop::GetActive();
#endif
if (loop)
{
int i = 10;