]> git.saurik.com Git - wxWidgets.git/commitdiff
Use wxConvAuto in wxFile::Write().
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 7 Jul 2013 11:46:53 +0000 (11:46 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 7 Jul 2013 11:46:53 +0000 (11:46 +0000)
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

index 75471c3b62a126487e3ee8ee6f9c9fae971d4c38..3f5963185ed97542a71054c2a13ea17c1d0aaf06 100644 (file)
@@ -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();