1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
--- List.c.orig Sat May 21 05:10:09 1994
+++ List.c Sat Nov 11 03:53:50 2000
@@ -52,7 +52,7 @@
/* $Log: List.c,v $
* Revision 1.2 1994/03/21 21:30:28 jones
- * Use XmREVISION instead of XmUPDATE_LEVEL.
+ * Use XmVERSION instead of XmUPDATE_LEVEL.
*
* Revision 1.1 1994/03/14 18:55:53 jones
* Initial revision
@@ -93,7 +93,7 @@
#if defined(MOTIF)
#include <Xm/XmP.h>
#include <Xm/Xm.h>
-#if XmREVISION==2
+#if XmVERSION==2
#include <Xm/PrimitiveP.h>
#endif
#endif
@@ -339,8 +339,8 @@
#endif
#if defined(MOTIF)
{
-#if defined(XmREVISION)
-#if XmREVISION>=2&&defined(XmInheritBorderHighlight)
+#if defined(XmVERSION)
+#if XmVERSION>=2&&defined(XmInheritBorderHighlight)
XmInheritBorderHighlight, /* border_highlight */
XmInheritBorderUnhighlight, /* border_unhighlight */
#else
@@ -402,10 +402,10 @@
String * params;
Cardinal *num_params;
{
-#if XmREVISION==1
+#if XmVERSION==1 && !defined(LESSTIF_REVISION) && LESSTIF_REVISION<88
_XmPrimitiveFocusIn((XmPrimitiveWidget)w, (XEvent*)event);
#endif
-#if XmREVISION==2
+#if XmVERSION==2
_XmPrimitiveFocusIn((XmPrimitiveWidget)w, (XEvent*)event, NULL, 0);
#endif
}
@@ -417,10 +417,10 @@
String * params;
Cardinal *num_params;
{
-#if XmREVISION==1
+#if XmVERSION==1 && !defined(LESSTIF_REVISION) && LESSTIF_REVISION<88
_XmPrimitiveFocusOut((XmPrimitiveWidget)w, event);
#endif
-#if XmREVISION==2
+#if XmVERSION==2
_XmPrimitiveFocusOut((XmPrimitiveWidget)w, event, NULL, 0);
#endif
}
@@ -433,10 +433,10 @@
Cardinal *num_params;
{
XmProcessTraversal(w, XmTRAVERSE_CURRENT);
-#if XmREVISION==1
+#if XmVERSION==1 && !defined(LESSTIF_REVISION) && LESSTIF_REVISION<88
_XmPrimitiveEnter((XmPrimitiveWidget)w, (XEvent*)event);
#endif
-#if XmREVISION==2
+#if XmVERSION==2
_XmPrimitiveEnter((XmPrimitiveWidget)w, (XEvent*)event, NULL, 0);
#endif
}
@@ -448,10 +448,10 @@
String * params;
Cardinal *num_params;
{
-#if XmREVISION==1
+#if XmVERSION==1 && !defined(LESSTIF_REVISION) && LESSTIF_REVISION<88
_XmPrimitiveLeave((XmPrimitiveWidget)w, (XEvent*)event);
#endif
-#if XmREVISION==2
+#if XmVERSION==2
_XmPrimitiveLeave((XmPrimitiveWidget)w, (XEvent*)event, NULL, 0);
#endif
}
|