From: George Tasker Date: Tue, 11 Jan 2000 12:56:58 +0000 (+0000) Subject: Replaced typo that had wxCALLBACK being redefined. wxSTDCALL should have been the... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ba2d860554e505e5c7b3745a5d203403bb110fc3 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 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index 1b10e1a33b..4020d4cb92 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -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