mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 08:33:36 +02:00
Switch to calling Yield via wxTheApp instead of wxGetApp(). Simpler to use pointer, AudacityApp doesn't override Yield, and this fixes compile error on VC++ Unicode Release.
This commit is contained in:
@@ -66,7 +66,7 @@ void NonGuiThread::RunInThread(tGenericFn pFn)
|
||||
{
|
||||
wxMilliSleep( 100 );
|
||||
//traits->AlwaysYield();
|
||||
wxGetApp().Yield();
|
||||
wxTheApp->Yield();
|
||||
}
|
||||
#ifdef WXMSW
|
||||
traits->AfterChildWaitLoop(cookie);
|
||||
|
Reference in New Issue
Block a user