]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/convertrc/rc2xml.cpp
wxEmptyString decorations.
[wxWidgets.git] / 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"));
 }