Sun, 15 Dec 2024 22:16:12 +0100
add menu separator (Motif)
ui/motif/menu.c | file | annotate | diff | comparison | revisions |
--- a/ui/motif/menu.c Sun Dec 15 22:13:05 2024 +0100 +++ b/ui/motif/menu.c Sun Dec 15 22:16:12 2024 +0100 @@ -150,7 +150,8 @@ } void add_menuseparator_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj) { - + Widget s = XmCreateSeparatorGadget (p, "menuseparator", NULL, 0); + XtManageChild(s); } void add_checkitem_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj) {