]> git.saurik.com Git - wxWidgets.git/commitdiff
Unicode markup.
authorWłodzimierz Skiba <abx@abx.art.pl>
Fri, 17 Dec 2004 12:12:00 +0000 (12:12 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Fri, 17 Dec 2004 12:12:00 +0000 (12:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/utils/convertrc/rc2xml.cpp

index 7cd81a8a682ec903be4982eb10746495a546f1c6..9f4246b19aed79d85525bf6ecde3545ea324f4ab 100644 (file)
@@ -796,8 +796,8 @@ void rc2xml::WriteLabel(wxString label)
 {
     label.Replace(_T("&"),_T("$"));
     // changes by MS, handle '<' '>' characters within a label.
-    label.Replace("<","&lt;");
-    label.Replace(">","&gt;");
+    label.Replace(_T("<"),_T("&lt;"));
+    label.Replace(_T(">"),_T("&gt;"));
     m_xmlfile.Write(_T("\t\t\t<label>")+label+_T("</label>\n"));
 }