X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78d14f80e9a72041ede52c30d912ec5cef21b1b3..65d48d095fb1390edd46f682c864320d7b9626e3:/contrib/src/xrc/xmlwrite.cpp?ds=inline diff --git a/contrib/src/xrc/xmlwrite.cpp b/contrib/src/xrc/xmlwrite.cpp index 482f976cb4..f256c1ba96 100644 --- a/contrib/src/xrc/xmlwrite.cpp +++ b/contrib/src/xrc/xmlwrite.cpp @@ -31,7 +31,7 @@ inline static void OutputString(wxOutputStream& stream, const wxString& str) { if (str.IsEmpty()) return; #if wxUSE_UNICODE - char *buf = str.mb_str(wxMBConvUTF8); + const char *buf = str.mb_str(wxConvUTF8); stream.Write(buf, strlen(buf)); #else stream.Write(str.mb_str(), str.Len());