]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
1. implemented wxRegKey::Copy() and CopyValue()
[wxWidgets.git] / include / wx / msw / private.h
index 15d89886ced0d9accc65c85b3d2d0539956e258a..c23c71526614730a9528fd161d8162440872d9c9 100644 (file)
@@ -67,15 +67,18 @@ WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT;
 
 // this defines a CASTWNDPROC macro which casts a pointer to the type of a
 // window proc
-#if defined(__GNUWIN32__) && !defined(wxUSE_NORLANDER_HEADERS)
+#ifdef __GNUWIN32_OLD__
 #  define CASTWNDPROC (long unsigned)
 #else
 #  ifdef __BORLANDC__
 
 #  ifdef __WIN32__
+#if __BORLANDC__ > 0x530
+       typedef long (__stdcall * WndProcCast)( HWND__*, unsigned int, unsigned int, long) ;
+#else
        typedef int (pascal * WndProcCast) ();
+#endif
 #      define CASTWNDPROC (WndProcCast)
-// #    define CASTWNDPROC
 #  else
        typedef int (pascal * WndProcCast) ();
 #      define CASTWNDPROC (WndProcCast)