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"