]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
added "access" parameter to wxFile::Create and Open. The default value is
[wxWidgets.git] / include / wx / msw / private.h
index 5a3635e74804f0e00bb9eca0170c3749febedef8..1a7f7cfd65ad0460baab59157d19b872e8ac0e13 100644 (file)
@@ -38,9 +38,14 @@ void WXDLLEXPORT wxFillLogFont(LOGFONT *logFont, wxFont *font);
 wxFont WXDLLEXPORT wxCreateFontFromLogFont(LOGFONT *logFont); // , bool createNew = TRUE);
 
 #ifdef __GNUWIN32__
-#define CASTWNDPROC (long unsigned)
+#  define CASTWNDPROC (long unsigned)
 #else
-#define CASTWNDPROC
+#  ifdef __BORLANDC__
+#    define CASTWNDPROC
+#  else
+     typedef long (_stdcall * WndProcCast) (HWND, unsigned int, unsigned int, long);
+#    define CASTWNDPROC (WndProcCast)
+#  endif
 #endif
 
 #if !defined(APIENTRY) // NT defines APIENTRY, 3.x not