1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +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

@@ -413,7 +413,7 @@ int ExportCL::Export(AudacityProject *project,
// Wait for process to terminate
while (p->IsActive()) {
wxMilliSleep(10);
wxGetApp().Yield();
wxTheApp->Yield();
}
// Display output on error or if the user wants to see it