]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
wxDocManager gets the only view if none other specified as the current view;
[wxWidgets.git] / include / wx / msw / private.h
index 4e81d182ef1afe6504a0f9f687da33ceb3f6a086..1a7f7cfd65ad0460baab59157d19b872e8ac0e13 100644 (file)
@@ -38,10 +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
-typedef long (_stdcall * WndProcCast) (HWND, unsigned int, unsigned int, long);
-#define CASTWNDPROC (WndProcCast)
+#  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