From da75a7eddeda3e553550aa7dd7ef098f1f3ebaaa Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Tue, 11 Aug 2020 01:48:32 -0500 Subject: [PATCH] Fix build --- src/AudacityLogger.cpp | 3 ++- src/AudacityLogger.h | 2 +- src/BatchCommands.cpp | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/AudacityLogger.cpp b/src/AudacityLogger.cpp index 14ec64d36..56c66f475 100644 --- a/src/AudacityLogger.cpp +++ b/src/AudacityLogger.cpp @@ -26,6 +26,7 @@ Provides thread-safe logging based on the wxWidgets log facility. #include #include #include +#include #include #include #include @@ -110,7 +111,7 @@ void AudacityLogger::DoLogText(const wxString & str) } } -bool AudacityLogger::SaveLog(const FilePath &fileName) const +bool AudacityLogger::SaveLog(const wxString &fileName) const { wxFFile file(fileName, wxT("w")); diff --git a/src/AudacityLogger.h b/src/AudacityLogger.h index 35a4cf71f..9bae125c6 100644 --- a/src/AudacityLogger.h +++ b/src/AudacityLogger.h @@ -33,7 +33,7 @@ class AudacityLogger final : public wxEvtHandler, public wxLog { void Show(bool show = true); - bool SaveLog(const FilePath &fileName) const; + bool SaveLog(const wxString &fileName) const; #if defined(EXPERIMENTAL_CRASH_REPORT) wxString GetLog(); diff --git a/src/BatchCommands.cpp b/src/BatchCommands.cpp index 332ecfdbf..b767cf284 100644 --- a/src/BatchCommands.cpp +++ b/src/BatchCommands.cpp @@ -20,8 +20,10 @@ processing. See also MacrosWindow and ApplyMacroDialog. #include "BatchCommands.h" #include +#include #include #include +#include #include "Project.h" #include "ProjectAudioManager.h"