Replaced typo that had wxCALLBACK being redefined. wxSTDCALL should have been the the #define used, not wxCALLBACK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker 2000-01-11 12:56:58 +00:00
parent 870ff2b13d
commit ba2d860554

View File

@ -331,11 +331,12 @@ typedef int wxWindowID;
// stdcall is used for all functions called by Windows under Windows
#ifdef __WINDOWS__
#if defined(__GNUWIN32__)
#define wxCALLBACK __attribute__((stdcall))
#define wxSTDCALL __attribute__((stdcall))
#else
// both VC++ and Borland understand this
#define wxCALLBACK _stdcall
#define wxSTDCALL _stdcall
#endif
#else // Win
// no such stupidness under Unix
#define wxSTDCALL
@ -348,6 +349,7 @@ typedef int wxWindowID;
#else
// no stdcall under Unix nor Win16
#define wxCALLBACK
#endif // platform
// callling convention for the qsort(3) callback