Win16 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -328,7 +328,7 @@ typedef int wxWindowID;
|
||||
|
||||
// wxCALLBACK should be used for the functions which are called back by
|
||||
// Windows (such as compare function for wxListCtrl)
|
||||
#if defined(__WXMSW__)
|
||||
#if defined(__WIN32__)
|
||||
#if defined(__MINGW32__) || defined(__GNUWIN32__)
|
||||
#define wxCALLBACK __attribute__((stdcall))
|
||||
#else
|
||||
@@ -336,7 +336,7 @@ typedef int wxWindowID;
|
||||
#define wxCALLBACK _stdcall
|
||||
#endif
|
||||
#else
|
||||
// no stdcall under Unix
|
||||
// no stdcall under Unix nor Win16
|
||||
#define wxCALLBACK
|
||||
#endif // platform
|
||||
|
||||
|
Reference in New Issue
Block a user