Unicode markup.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2004-12-17 12:12:00 +00:00
parent e70e15cc58
commit b0e43bafc9

View 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"));
}