// only do SBCS or _UNICODE
#if defined (_MBCS )
-# error "MBCS is not supported by wxChar"
+// It may be OK anyway.
+// # error "MBCS is not supported by wxChar"
#endif
// set wxUSE_UNICODE to 1 if UNICODE or _UNICODE is defined
// ctype.h functions
#ifndef wxNO_TCHAR_CTYPE
+#ifdef __BORLANDC__
+# include <ctype.h>
+#endif
# define wxIsalnum _istalnum
# define wxIsalpha _istalpha
# define wxIsctrl _istctrl
#endif
#ifndef wxSetlocale
+class wxWCharBuffer;
WXDLLEXPORT wxWCharBuffer wxSetlocale(int category, const wxChar *locale);
#endif