X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dea36ef6d117e0562f0079345a77ff1696d3a49..4a8fc2c8b3e7316068fd64fe8deb834b8c18342f:/include/wx/wxchar.h diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index b431806a44..2f53037c71 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -18,7 +18,8 @@ // 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 @@ -121,6 +122,9 @@ typedef _TUCHAR wxUChar; // ctype.h functions #ifndef wxNO_TCHAR_CTYPE +#ifdef __BORLANDC__ +# include +#endif # define wxIsalnum _istalnum # define wxIsalpha _istalpha # define wxIsctrl _istctrl @@ -549,6 +553,7 @@ WXDLLEXPORT wxChar * wxStrtok(wxChar *psz, const wxChar *delim, wxChar **save_pt #endif #ifndef wxSetlocale +class wxWCharBuffer; WXDLLEXPORT wxWCharBuffer wxSetlocale(int category, const wxChar *locale); #endif