diff --git a/src/FileNames.cpp b/src/FileNames.cpp index e4bacbada..cc01d0c9d 100644 --- a/src/FileNames.cpp +++ b/src/FileNames.cpp @@ -865,7 +865,7 @@ bool FileNames::IsOnFATFileSystem(const FilePath &path) } #endif -bool FileNames::FATFilesystemDenied( const FilePath &path, wxFrame *window /* = nullptr */ ) +bool FileNames::FATFilesystemDenied( const FilePath &path, wxWindow *window /* = nullptr */ ) { if (FileNames::IsOnFATFileSystem(path)) { diff --git a/src/FileNames.h b/src/FileNames.h index 44d2ea22c..e7e2a46e2 100644 --- a/src/FileNames.h +++ b/src/FileNames.h @@ -21,7 +21,6 @@ class wxFileName; class wxFileNameWrapper; -class wxFrame; namespace FileNames { @@ -214,7 +213,7 @@ namespace FileNames AUDACITY_DLL_API bool IsOnFATFileSystem(const FilePath &path); - bool FATFilesystemDenied(const FilePath &path, wxFrame *window = nullptr); + bool FATFilesystemDenied(const FilePath &path, wxWindow *window = nullptr); AUDACITY_DLL_API //! Give enough of the path to identify the device. (On Windows, drive letter plus ':')