OW prototypes does not use ints in Unicode.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-11-08 19:27:13 +00:00
parent 216289a24a
commit 048ba49d87

View File

@@ -242,18 +242,24 @@
#ifdef wxHAVE_TCHAR_SUPPORT #ifdef wxHAVE_TCHAR_SUPPORT
#include <ctype.h> #include <ctype.h>
#if defined(__WATCOMC__) && defined(UNICODE)
#define WXWCHAR_T_CAST(c) (wint_t)(c)
#else
#define WXWCHAR_T_CAST(c) c
#endif
/* ctype.h functions */ /* ctype.h functions */
#define wxIsalnum _istalnum #define wxIsalnum(c) _istalnum(WXWCHAR_T_CAST(c))
#define wxIsalpha _istalpha #define wxIsalpha(c) _istalpha(WXWCHAR_T_CAST(c))
#define wxIscntrl _istcntrl #define wxIscntrl(c) _istcntrl(WXWCHAR_T_CAST(c))
#define wxIsdigit _istdigit #define wxIsdigit(c) _istdigit(WXWCHAR_T_CAST(c))
#define wxIsgraph _istgraph #define wxIsgraph(c) _istgraph(WXWCHAR_T_CAST(c))
#define wxIslower _istlower #define wxIslower(c) _istlower(WXWCHAR_T_CAST(c))
#define wxIsprint _istprint #define wxIsprint(c) _istprint(WXWCHAR_T_CAST(c))
#define wxIspunct _istpunct #define wxIspunct(c) _istpunct(WXWCHAR_T_CAST(c))
#define wxIsspace _istspace #define wxIsspace(c) _istspace(WXWCHAR_T_CAST(c))
#define wxIsupper _istupper #define wxIsupper(c) _istupper(WXWCHAR_T_CAST(c))
#define wxIsxdigit _istxdigit #define wxIsxdigit(c) _istxdigit(WXWCHAR_T_CAST(c))
/* /*
There is a bug in VC6 C RTL: toxxx() functions dosn't do anything with There is a bug in VC6 C RTL: toxxx() functions dosn't do anything with