X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c21faa0a3e940deffd92452ac8e0f4221e92b2db..d8d9844b299bb9c91a35025f87a079f04c30eae9:/tests/benchmarks/htmlparser/htmltag.cpp diff --git a/tests/benchmarks/htmlparser/htmltag.cpp b/tests/benchmarks/htmlparser/htmltag.cpp index d8a0a31b21..37f38d0fbf 100644 --- a/tests/benchmarks/htmlparser/htmltag.cpp +++ b/tests/benchmarks/htmlparser/htmltag.cpp @@ -52,8 +52,8 @@ IMPLEMENT_CLASS(wx28HtmlTagsCache,wxObject) bool wxIsCDATAElement(const wxChar *tag) { - return (wxStrcmp(tag, _T("SCRIPT")) == 0) || - (wxStrcmp(tag, _T("STYLE")) == 0); + return (wxStrcmp(tag, wxT("SCRIPT")) == 0) || + (wxStrcmp(tag, wxT("STYLE")) == 0); } wx28HtmlTagsCache::wx28HtmlTagsCache(const wxString& source) @@ -85,7 +85,7 @@ wx28HtmlTagsCache::wx28HtmlTagsCache(const wxString& source) { tagBuffer[i] = (wxChar)wxToupper(src[pos]); } - tagBuffer[i] = _T('\0'); + tagBuffer[i] = wxT('\0'); m_Cache[tg].Name = new wxChar[i+1]; memcpy(m_Cache[tg].Name, tagBuffer, (i+1)*sizeof(wxChar)); @@ -409,12 +409,12 @@ int wx28HtmlTag::ScanParam(const wxString& par, bool wx28HtmlTag::GetParamAsColour(const wxString& par, wxColour *clr) const { - wxCHECK_MSG( clr, false, _T("invalid colour argument") ); + wxCHECK_MSG( clr, false, wxT("invalid colour argument") ); wxString str = GetParam(par); // handle colours defined in HTML 4.0 first: - if (str.length() > 1 && str[0] != _T('#')) + if (str.length() > 1 && str[0] != wxT('#')) { #define HTML_COLOUR(name, r, g, b) \ if (str.IsSameAs(wxT(name), false)) \