Some Borland/GnuWin32 fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-07-17 11:10:38 +00:00
parent 18a2fa3715
commit d6a1743b56
4 changed files with 14 additions and 5 deletions

View 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