1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Fix build

This commit is contained in:
Leland Lucius 2020-08-11 01:48:32 -05:00
parent b6eaf5623e
commit da75a7edde
3 changed files with 5 additions and 2 deletions

View File

@ -26,6 +26,7 @@ Provides thread-safe logging based on the wxWidgets log facility.
#include <mutex> #include <mutex>
#include <wx/filedlg.h> #include <wx/filedlg.h>
#include <wx/log.h> #include <wx/log.h>
#include <wx/ffile.h>
#include <wx/frame.h> #include <wx/frame.h>
#include <wx/icon.h> #include <wx/icon.h>
#include <wx/settings.h> #include <wx/settings.h>
@ -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")); wxFFile file(fileName, wxT("w"));

View File

@ -33,7 +33,7 @@ class AudacityLogger final : public wxEvtHandler, public wxLog {
void Show(bool show = true); void Show(bool show = true);
bool SaveLog(const FilePath &fileName) const; bool SaveLog(const wxString &fileName) const;
#if defined(EXPERIMENTAL_CRASH_REPORT) #if defined(EXPERIMENTAL_CRASH_REPORT)
wxString GetLog(); wxString GetLog();

View File

@ -20,8 +20,10 @@ processing. See also MacrosWindow and ApplyMacroDialog.
#include "BatchCommands.h" #include "BatchCommands.h"
#include <wx/defs.h> #include <wx/defs.h>
#include <wx/datetime.h>
#include <wx/dir.h> #include <wx/dir.h>
#include <wx/textfile.h> #include <wx/textfile.h>
#include <wx/time.h>
#include "Project.h" #include "Project.h"
#include "ProjectAudioManager.h" #include "ProjectAudioManager.h"