1
0
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:
v.audacity
2010-07-24 23:21:51 +00:00
parent 4ae0fa3238
commit 8c51e56248
5 changed files with 9 additions and 9 deletions

View File

@@ -66,7 +66,7 @@ void NonGuiThread::RunInThread(tGenericFn pFn)
{
wxMilliSleep( 100 );
//traits->AlwaysYield();
wxGetApp().Yield();
wxTheApp->Yield();
}
#ifdef WXMSW
traits->AfterChildWaitLoop(cookie);