]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
1) APPCONF_ constants renamed to wxCONFIG_
[wxWidgets.git] / include / wx / msw / private.h
index 5a3635e74804f0e00bb9eca0170c3749febedef8..adaeb99ffc45bf6a38d970bd139ef1d0b91bee23 100644 (file)
@@ -38,9 +38,18 @@ 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
+#    ifdef __WIN32__
+       typedef long (_stdcall * WndProcCast) (HWND, unsigned int, unsigned int, long);
+#      define CASTWNDPROC (WndProcCast)
+#    else
+#      define CASTWNDPROC
+#    endif
+#  endif
 #endif
 
 #if !defined(APIENTRY) // NT defines APIENTRY, 3.x not