Fix to properly define WXFARPROC for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0fb0dd8361
commit
37123da440
@ -1843,6 +1843,13 @@ typedef struct tagLOGPALETTE
|
||||
typedef int (*WXFARPROC)();
|
||||
#elif defined(__WIN32__)
|
||||
typedef int (__stdcall *WXFARPROC)();
|
||||
#elif defined(__WXPM__)
|
||||
# if defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 )
|
||||
// VA 3.0 for some reason needs base data types when typedefing a proc proto???
|
||||
typedef void* (_System *WXFARPROC)(unsigned long, unsigned long, void*, void*);
|
||||
# else
|
||||
typedef WXRESULT (_System *WXFARPROC)(WXHWND, WXMSGID, WXWPARAM, WXLPARAM);
|
||||
# endif
|
||||
#else
|
||||
typedef int (*WXFARPROC)();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user