X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..8366ae934aab9f835747b0c2e456231e8795fe78:/include/wx/file.h diff --git a/include/wx/file.h b/include/wx/file.h index d52ad5f423..8331e9d8df 100644 --- a/include/wx/file.h +++ b/include/wx/file.h @@ -164,7 +164,7 @@ public: // I/O (both functions return true on success, false on failure) bool Write(const void *p, size_t n) { return m_file.Write(p, n) != 0; } - bool Write(const wxString& str) { return m_file.Write(str); } + bool Write(const wxString& str, wxMBConv& conv = wxConvLibc) { return m_file.Write(str, conv); } // different ways to close the file // validate changes and delete the old file of name m_strName