1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Fix Windows build...

... unfortunately inclusion of ErrorDialog.h in FileNames.h ties nine files
into a low-level s.c.c.
This commit is contained in:
Paul Licameli
2019-05-20 13:28:21 -04:00
parent 6d257b04da
commit 273ba9f64d
6 changed files with 8 additions and 5 deletions

View File

@@ -36,6 +36,7 @@ used throughout Audacity into this one place.
#include "Internat.h"
#include "PlatformCompatibility.h"
#include "wxFileNameWrapper.h"
#include "widgets/ErrorDialog.h"
#include "../lib-src/FileDialog/FileDialog.h"
#if defined(__WXMAC__) || defined(__WXGTK__)
@@ -583,6 +584,8 @@ void FileNames::FindFilesInPathList(const wxString & pattern,
}
#if defined(__WXMSW__)
wxCharBuffer FileNames::mFilename;
//
// On Windows, wxString::mb_str() can return a NULL pointer if the
// conversion to multi-byte fails. So, based on direction intent,