Mercurial > emacs
diff lwlib/lwlib-Xm.c @ 20471:d4e514328333
(update_one_menu_entry): Add conditional in case XmNpositionIndex is missing.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 20 Dec 1997 23:12:09 +0000 |
parents | 2cb422e2d16c |
children | 6293957eeb5c |
line wrap: on
line diff
--- a/lwlib/lwlib-Xm.c Fri Dec 19 14:58:42 1997 +0000 +++ b/lwlib/lwlib-Xm.c Sat Dec 20 23:12:09 1997 +0000 @@ -544,8 +544,10 @@ /* Non-zero values don't work reliably in conjunction with Emacs' event loop */ XtSetArg (al [ac], XmNmappingDelay, 0); ac++; +#ifdef XmNpositionIndex /* This is undefined on SCO ODT 2.0. */ /* Tell Motif to put it in the right place */ - XtSetArg (al [ac], XmNpositionIndex, i); ac++; + XtSetArg (al [ac], XmNpositionIndex , i); ac++; +#endif button = XmCreateCascadeButtonGadget (parent, val->name, al, ac); xm_update_label (instance, button, val);