Karl Kleinpaste <karl(a)justresearch.com> writes:
#16 0x81cbe0e in xaw_create_label (parent=0x87db1f8, val=0x85b73c8)
at lwlib-Xaw.c:773
Id don't claim at all to understand that code. But this changes an
inconsistency with the rest of the code although I cannot see how it
could matter unless the class got subclassed behind our back. This is
also closer to the Motif code.
Index: lwlib-Xaw.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lwlib/lwlib-Xaw.c,v
retrieving revision 1.9.2.4
diff -u -u -r1.9.2.4 lwlib-Xaw.c
--- lwlib-Xaw.c 1999/08/30 13:37:06 1.9.2.4
+++ lwlib-Xaw.c 1999/11/30 21:46:33
@@ -146,7 +146,7 @@
}
#endif /* LWLIB_DIALOGS_ATHENA */
#ifdef LWLIB_WIDGETS_ATHENA
- else if (XtClass (widget) == labelWidgetClass)
+ else if (XtIsSubclass (widget, labelWidgetClass))
{
Arg al [1];
XtSetArg (al [0], XtNlabel, val->value);