]> git.saurik.com Git - wxWidgets.git/commitdiff
Make this compile in Unicode mode under Borland C++ 5.02
authorOve Kaaven <ovek@arcticnet.no>
Mon, 3 Jan 2000 02:19:07 +0000 (02:19 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Mon, 3 Jan 2000 02:19:07 +0000 (02:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index b431806a4486c6651db1c3015ba6d35c2f6c27a0..91103040c6a5d1814f271dce0fd61ef70d039ebd 100644 (file)
@@ -121,6 +121,9 @@ typedef  _TUCHAR     wxUChar;
 
    // ctype.h functions
 #ifndef wxNO_TCHAR_CTYPE
+#ifdef __BORLANDC__
+#  include <ctype.h>
+#endif
 #  define  wxIsalnum   _istalnum
 #  define  wxIsalpha   _istalpha
 #  define  wxIsctrl    _istctrl
@@ -549,6 +552,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