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:
@@ -1843,6 +1843,13 @@ typedef struct tagLOGPALETTE
|
|||||||
typedef int (*WXFARPROC)();
|
typedef int (*WXFARPROC)();
|
||||||
#elif defined(__WIN32__)
|
#elif defined(__WIN32__)
|
||||||
typedef int (__stdcall *WXFARPROC)();
|
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
|
#else
|
||||||
typedef int (*WXFARPROC)();
|
typedef int (*WXFARPROC)();
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user