projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(mark_coding_system): Mark initial-charset-g0 and -g1 of CODESYS_BIG5
[chise/xemacs-chise.git-]
/
lwlib
/
lwlib-Xlw.c
diff --git
a/lwlib/lwlib-Xlw.c
b/lwlib/lwlib-Xlw.c
index
6c3cd34
..
92437d5
100644
(file)
--- a/
lwlib/lwlib-Xlw.c
+++ b/
lwlib/lwlib-Xlw.c
@@
-482,7
+482,7
@@
xlw_create_clip_window (widget_instance *instance)
}
#endif
}
#endif
-widget_creation_entry
+const widget_creation_entry
xlw_creation_table [] =
{
#ifdef LWLIB_MENUBARS_LUCID
xlw_creation_table [] =
{
#ifdef LWLIB_MENUBARS_LUCID
@@
-524,6
+524,10
@@
lw_lucid_widget_p (Widget widget)
XtClass (((CompositeWidget)widget)->composite.children [0])
== xlwMenuWidgetClass;
#endif
XtClass (((CompositeWidget)widget)->composite.children [0])
== xlwMenuWidgetClass;
#endif
+#ifdef HAVE_WIDGETS
+ if (the_class == emacsManagerWidgetClass)
+ return True;
+#endif
return False;
}
return False;
}
@@
-545,7
+549,7
@@
xlw_update_one_widget (widget_instance* instance, Widget widget,
else
mw = (XlwMenuWidget)widget;
XtSetArg (al [0], XtNmenu, val);
else
mw = (XlwMenuWidget)widget;
XtSetArg (al [0], XtNmenu, val);
- XtSetValues (widget, al, 1);
+ XtSetValues (widget, al, 1); /* #### mw unused! */
}
#endif
#ifdef LWLIB_SCROLLBARS_LUCID
}
#endif
#ifdef LWLIB_SCROLLBARS_LUCID
@@
-560,6
+564,9
@@
xlw_update_one_widget (widget_instance* instance, Widget widget,
xlw_update_tab_control (instance, widget, val);
}
#endif
xlw_update_tab_control (instance, widget, val);
}
#endif
+ /* Lastly update our global arg values. */
+ if (val->args && val->args->nargs)
+ XtSetValues (widget, val->args->args, val->args->nargs);
}
void
}
void