At 11:52 PM 1/2/00 -0800, Martin Buchholz wrote:
>>>>> "KMH" == Karl M Hegbloom
<karlheg(a)inetarena.com> writes:
KMH> I have been having the same problem. I've disabled dialog boxes for
KMH> now. Clicking the buttons in the dialog does nothing; they press,
KMH> but XEmacs doesn't read it. Closing the dialog via the WM causes
KMH> XEmacs to crash.
This happens to me as well, but only on Linux, where I use xaw, and
not on Solaris, where I get working Motif dialog boxes. This is with
gutters turned off. Andy?
Does this make any difference? It's the only thing that might have changed
this behaviour recently. Hmm, in fact try taking out the subclass bit
entirely and see if that makes a difference also.
Index: lwlib-Xaw.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lwlib/lwlib-Xaw.c,v
retrieving revision 1.9.2.6
diff -u -r1.9.2.6 lwlib-Xaw.c
--- lwlib-Xaw.c 1999/12/21 23:08:57 1.9.2.6
+++ lwlib-Xaw.c 2000/01/03 10:46:04
@@ -146,7 +146,8 @@
}
#endif /* LWLIB_DIALOGS_ATHENA */
#ifdef LWLIB_WIDGETS_ATHENA
- else if (XtIsSubclass (widget, labelWidgetClass))
+ else if (XtIsSubclass (widget, labelWidgetClass)
+ || XtClass (widget) == labelWidgetClass)
{
Arg al [1];
XtSetArg (al [0], XtNlabel, val->value);
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd