Unicode markup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -796,8 +796,8 @@ void rc2xml::WriteLabel(wxString label)
|
|||||||
{
|
{
|
||||||
label.Replace(_T("&"),_T("$"));
|
label.Replace(_T("&"),_T("$"));
|
||||||
// changes by MS, handle '<' '>' characters within a label.
|
// changes by MS, handle '<' '>' characters within a label.
|
||||||
label.Replace("<","<");
|
label.Replace(_T("<"),_T("<"));
|
||||||
label.Replace(">",">");
|
label.Replace(_T(">"),_T(">"));
|
||||||
m_xmlfile.Write(_T("\t\t\t<label>")+label+_T("</label>\n"));
|
m_xmlfile.Write(_T("\t\t\t<label>")+label+_T("</label>\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user