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