mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
XMLFileWriter takes TranslatableString caption
This commit is contained in:
@@ -292,8 +292,8 @@ wxString XMLWriter::XMLEsc(const wxString & s)
|
||||
///
|
||||
/// XMLFileWriter class
|
||||
///
|
||||
XMLFileWriter::XMLFileWriter
|
||||
( const FilePath &outputPath, const wxString &caption, bool keepBackup )
|
||||
XMLFileWriter::XMLFileWriter(
|
||||
const FilePath &outputPath, const TranslatableString &caption, bool keepBackup )
|
||||
: mOutputPath{ outputPath }
|
||||
, mCaption{ caption }
|
||||
, mKeepBackup{ keepBackup }
|
||||
|
||||
@@ -84,9 +84,9 @@ class AUDACITY_DLL_API XMLFileWriter final : private wxFFile, public XMLWriter {
|
||||
|
||||
/// The caption is for message boxes to show in case of errors.
|
||||
/// Might throw.
|
||||
XMLFileWriter
|
||||
( const FilePath &outputPath, const wxString &caption,
|
||||
bool keepBackup = false );
|
||||
XMLFileWriter(
|
||||
const FilePath &outputPath, const TranslatableString &caption,
|
||||
bool keepBackup = false );
|
||||
|
||||
virtual ~XMLFileWriter();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user