X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c50f1fb9226d9260454ccb9c8a67d0be23c2827f..a0250ba3e5f1b176fa69eb5aa7301069ad3bfcf3:/include/wx/msw/private.h diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index ea234b7964..0ff6b1a46d 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -56,7 +56,7 @@ WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT; // window proc // --------------------------------------------------------------------------- -#if defined(__GNUWIN32__) && !defined(__MINGW32__) +#if defined(__GNUWIN32__) && !defined(wxUSE_NORLANDER_HEADERS) # define CASTWNDPROC (long unsigned) #else # ifdef __BORLANDC__ @@ -69,7 +69,7 @@ WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT; # endif # else -# if defined (__WIN32__) && defined(STRICT) +# if defined (__WIN32__) && defined(STRICT) typedef long (_stdcall * WndProcCast) (HWND, unsigned int, unsigned int, long); # define CASTWNDPROC (WndProcCast) # elif defined(__WIN16__)