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