X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90e2cbf780751a69e723e20057222ab2f2e46088..ef094fa075bc56bcbc33b12159c395ea28afda3b:/include/wx/ffile.h?ds=sidebyside diff --git a/include/wx/ffile.h b/include/wx/ffile.h index 3374ed9400..33f0725af7 100644 --- a/include/wx/ffile.h +++ b/include/wx/ffile.h @@ -6,7 +6,7 @@ // Created: 14.07.99 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_FFILE_H_ @@ -67,7 +67,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, wxMBConv& conv = wxConvLibc) + bool Write(const wxString& s, wxMBConv& conv = wxConvUTF8) { const wxWX2MBbuf buf = s.mb_str(conv); size_t size = strlen(buf);