]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xmlwrite.cpp
Added regex to WXINC line (patch from Markus G)
[wxWidgets.git] / contrib / src / xrc / xmlwrite.cpp
index 482f976cb45c05267c3a410827fbffb6c7b3603a..f256c1ba9692bc8c9e7891e10632749e7f415f6d 100644 (file)
@@ -31,7 +31,7 @@ inline static void OutputString(wxOutputStream& stream, const wxString& str)
 {
     if (str.IsEmpty()) return;
 #if wxUSE_UNICODE
 {
     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());        
     stream.Write(buf, strlen(buf));
 #else
     stream.Write(str.mb_str(), str.Len());