From f8c2c6f24d072403e13310f5f15eecb58a7a07d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 7 Jul 2013 11:46:53 +0000 Subject: [PATCH] Use wxConvAuto in wxFile::Write(). For consistency with wxFFile. No real change, as wxConvAuto will default to UTF-8 when writing. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/file.h b/include/wx/file.h index 75471c3b62..3f5963185e 100644 --- a/include/wx/file.h +++ b/include/wx/file.h @@ -77,7 +77,7 @@ public: // returns the number of bytes written size_t Write(const void *pBuf, size_t nCount); // returns true on success - bool Write(const wxString& s, const wxMBConv& conv = wxMBConvUTF8()); + bool Write(const wxString& s, const wxMBConv& conv = wxConvAuto()); // flush data not yet written bool Flush(); -- 2.47.2