return nNum;
}
-int wx_isdigit(wx_wchar c) {return (c >= 0 && c <= UCHAR_MAX && wxIsdigit((unsigned char) c));}
-int wx_isalpha(wx_wchar c) {return (c >= 0 && c <= UCHAR_MAX && wxIsalpha((unsigned char) c));}
-int wx_isalnum(wx_wchar c) {return (c >= 0 && c <= UCHAR_MAX && wxIsalnum((unsigned char) c));}
-int wx_isupper(wx_wchar c) {return (c >= 0 && c <= UCHAR_MAX && wxIsupper((unsigned char) c));}
-int wx_islower(wx_wchar c) {return (c >= 0 && c <= UCHAR_MAX && wxIslower((unsigned char) c));}
-int wx_isgraph(wx_wchar c) {return (c >= 0 && c <= UCHAR_MAX && wxIsgraph((unsigned char) c));}
-int wx_ispunct(wx_wchar c) {return (c >= 0 && c <= UCHAR_MAX && wxIspunct((unsigned char) c));}
-int wx_isspace(wx_wchar c) {return (c >= 0 && c <= UCHAR_MAX && wxIsspace((unsigned char) c));}
+int wx_isdigit(wx_wchar c) {return wxIsdigit(c);}
+int wx_isalpha(wx_wchar c) {return wxIsalpha(c);}
+int wx_isalnum(wx_wchar c) {return wxIsalnum(c);}
+int wx_isupper(wx_wchar c) {return wxIsupper(c);}
+int wx_islower(wx_wchar c) {return wxIslower(c);}
+int wx_isgraph(wx_wchar c) {return wxIsgraph(c);}
+int wx_ispunct(wx_wchar c) {return wxIspunct(c);}
+int wx_isspace(wx_wchar c) {return wxIsspace(c);}
wx_wchar wx_toupper(wx_wchar c)
{
- if (c >= 0 && c <= UCHAR_MAX)
- return wxToupper((unsigned char) c);
- return c;
-
+ return wxToupper(c);
}
wx_wchar wx_tolower(wx_wchar c)
{
- if (c >= 0 && c <= UCHAR_MAX)
- return wxTolower((unsigned char) c);
- return c;
+ return wxTolower(c);
}
int wx_strlen(const wx_wchar* szString)