if (nLen1 != nLen2)
return nLen1 - nLen2;
- return wxTmemcmp(s1, s2, nLen1);
+ return memcmp(s1, s2, nLen1*sizeof(wchar_t));
}
// convert a string from UTF8 to the internal encoding
wxString str;
for (size_t i = 0; i < arg.length(); i++) {
- wxUChar ch = (wxChar)arg[i];
+ wxChar ch = (wxChar)arg[i];
const wxChar *p = wxStrchr(needEscape, ch);
if (p)