X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51c742ddf839be3987bedfaf1256b75035d0d51a..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/include/wx/vms_x_fix.h?ds=sidebyside diff --git a/include/wx/vms_x_fix.h b/include/wx/vms_x_fix.h index 65a43fefad..7abe930816 100644 --- a/include/wx/vms_x_fix.h +++ b/include/wx/vms_x_fix.h @@ -2,7 +2,7 @@ * * * Author : Jouk Jansen (joukj@hrem.stm.tudelft.nl) * * * - * Last revision : 11 July 2005 * + * Last revision : 7 October 2005 * * * * Repair definitions of Runtime library functions when compiling with * * /name=(as_is) on OpenVMS * @@ -390,6 +390,7 @@ #define XextAddDisplay XEXTADDDISPLAY #define XextFindDisplay XEXTFINDDISPLAY #define XextRemoveDisplay XEXTREMOVEDISPLAY +#define XkbSetDetectableAutoRepeat XKBSETDETECTABLEAUTOREPEAT #define XmActivateProtocol XMACTIVATEPROTOCOL #define XmAddProtocolCallback XMADDPROTOCOLCALLBACK #define XmAddProtocols XMADDPROTOCOLS @@ -1192,12 +1193,14 @@ #define xmToggleButtonGadgetClass XMTOGGLEBUTTONGADGETCLASS #define xmToggleButtonWidgetClass XMTOGGLEBUTTONWIDGETCLASS -#define SetReqLen(req,n,badlen) \ +#if (__VMS_VER < 80200000) +# define SetReqLen(req,n,badlen) \ if ((req->length + n) > (unsigned)65535) { \ n = badlen; \ req->length += n; \ } else \ req->length += n +#endif #ifdef __cplusplus extern "C" {