]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxchar.h
Centre() supports wxCENTER_FRAME flag now
[wxWidgets.git] / include / wx / wxchar.h
index 7dcd0e499f6ae16711580c18b1c4db29e769a417..7e05283622f938e02eac7612e84526894b1f43f1 100644 (file)
@@ -195,6 +195,10 @@ typedef  _TUCHAR     wxUChar;
   #endif
  #elif defined(__GNUWIN32__) && !defined(__MINGW32__) // Cygwin (not Mingw32) doesn't have wcslen.h, needed in buffer.h
   #define wxUSE_WCHAR_T 0
+ #elif defined(__BORLANDC__) // WIN16 BC++
+  #define wxUSE_WCHAR_T 0
+ #elif defined(__WATCOMC__)
+  #define wxUSE_WCHAR_T 0
  #else
   // add additional compiler checks if this fails
   #define wxUSE_WCHAR_T 1
@@ -319,7 +323,9 @@ typedef unsigned char   wxUChar;
 #define  wxSetlocale setlocale
 
    // string.h functions
-#define  wxStricmp   strcasecmp
+// #define  wxStricmp   strcasecmp
+// wxStricmp is defined below!!
+
 // #define  wxStrtok    strtok_r // this needs a configure check
 
    // leave the rest to defaults below
@@ -524,6 +530,8 @@ WXDLLEXPORT size_t   wxStrxfrm(wxChar *dest, const wxChar *src, size_t n);
 #ifdef wxNEED_WX_STDIO_H
 #include <stdio.h>
 #include <stdarg.h>
+WXDLLEXPORT FILE *   wxFopen(const wxChar *path, const wxChar *mode);
+WXDLLEXPORT FILE *   wxFreopen(const wxChar *path, const wxChar *mode, FILE *stream);
 WXDLLEXPORT int      wxPrintf(const wxChar *fmt, ...);
 WXDLLEXPORT int      wxVprintf(const wxChar *fmt, va_list argptr);
 WXDLLEXPORT int      wxFprintf(FILE *stream, const wxChar *fmt, ...);
@@ -545,5 +553,9 @@ WXDLLEXPORT wxChar * wxGetenv(const wxChar *name);
 WXDLLEXPORT int      wxSystem(const wxChar *psz);
 #endif
 
+#ifdef wxNEED_WX_TIME_H
+WXDLLEXPORT size_t   wxStrftime(wxChar *s, size_t max, const wxChar *fmt, const struct tm *tm);
+#endif
+
 #endif
   //_WX_WXCHAR_H_