X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3b177ae6310ed80f054ae227513ef681f9c3dad..794bcc2dea743ac907b839f54e451847c9ea4b72:/include/wx/msw/private.h?ds=sidebyside diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index f932c659c0..c23c715266 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -67,7 +67,7 @@ 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__ @@ -79,7 +79,6 @@ WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT; typedef int (pascal * WndProcCast) (); #endif # define CASTWNDPROC (WndProcCast) -// # define CASTWNDPROC # else typedef int (pascal * WndProcCast) (); # define CASTWNDPROC (WndProcCast)