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