ui/motif/menu.c

changeset 169
fe49cff3c571
parent 153
ee49d1852a5f
child 176
bc63cb601f6d
equal deleted inserted replaced
168:1b99acacc5bb 169:fe49cff3c571
273 (XtCallbackProc)ui_push_button_callback, 273 (XtCallbackProc)ui_push_button_callback,
274 event); 274 event);
275 } 275 }
276 276
277 if(mi->groups) { 277 if(mi->groups) {
278 uic_add_group_widget(obj->ctx, mitem, mi->groups); 278 uic_add_group_widget(obj->ctx, mitem, (ui_enablefunc)XtSetSensitive, mi->groups);
279 } 279 }
280 280
281 return 1; 281 return 1;
282 } 282 }
283 283
332 (XtCallbackProc)ui_push_button_callback, 332 (XtCallbackProc)ui_push_button_callback,
333 event); 333 event);
334 } 334 }
335 335
336 if(mi->groups) { 336 if(mi->groups) {
337 uic_add_group_widget(obj->ctx, mitem, mi->groups); 337 uic_add_group_widget(obj->ctx, mitem, (ui_enablefunc)XtSetSensitive, mi->groups);
338 } 338 }
339 339
340 return 1; 340 return 1;
341 } 341 }
342 342

mercurial