int wxToupper_l(const wxUniChar& c, const wxXLocale& loc) { wxCHECK(loc.IsOk(), false); if(CTYPE_TEST(c.GetValue(), CTYPE_LOWER)) { return c - 'a' + 'A'; } return c; }
bool IsWhitespace(wxUniChar c) { return !!u_isUWhiteSpace(c.GetValue()); }