]> git.saurik.com Git - wxWidgets.git/commitdiff
Replaced typo that had wxCALLBACK being redefined. wxSTDCALL should have been the...
authorGeorge Tasker <gtasker@allenbrook.com>
Tue, 11 Jan 2000 12:56:58 +0000 (12:56 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Tue, 11 Jan 2000 12:56:58 +0000 (12:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 1b10e1a33b0c5bf40c9929f7546a45a8b4633dd0..4020d4cb921358f235cf97c293222637c488c226 100644 (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