1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-23 22:55:49 +01:00

Don't use AudacityApp where you only need wxApp...

... I want to have fewer inclusions of AudacityApp.h.  More work on removing
them will happen in the next version.
This commit is contained in:
Paul Licameli
2019-04-26 11:47:33 -04:00
parent 21a1260f91
commit 544d9aa580
5 changed files with 5 additions and 8 deletions

View File

@@ -64,7 +64,6 @@
#include "../Tags.h"
#include "../TranslatableStringArray.h"
#include "../widgets/ErrorDialog.h"
#include "../AudacityApp.h"
#include "Export.h"
@@ -471,7 +470,7 @@ void ExportFFmpegCustomOptions::OnOpen(wxCommandEvent & WXUNUSED(evt))
}
}
DropFFmpegLibs();
auto pWin = wxGetApp().GetTopWindow();
auto pWin = wxTheApp->GetTopWindow();
ExportFFmpegOptions od(pWin);
od.ShowModal();
}