1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-08 07:25:39 +01:00

Move error dialog functions into the BasicUI facade...

... now ErrorDialog.h is included only in ErrorDialog.cpp and
wxWidgetsBasicUI.cpp
This commit is contained in:
Paul Licameli
2021-02-09 12:50:27 -05:00
parent 3a3ff8ecbe
commit 189c6c1dbc
26 changed files with 251 additions and 216 deletions

View File

@@ -39,7 +39,7 @@
#include "commands/CommandManager.h"
#include "toolbars/ToolManager.h"
#include "widgets/AudacityMessageBox.h"
#include "widgets/ErrorDialog.h"
#include "BasicUI.h"
#include <unordered_set>
@@ -805,8 +805,7 @@ void MenuManager::TellUserWhyDisallowed(
return;
// Does not have the warning icon...
ShowErrorDialog(
NULL,
BasicUI::ShowErrorDialog( {},
untranslatedTitle,
reason,
helpPage);