ui/motif/button.c

changeset 433
605bb5dc34f1
parent 419
7d15cad351fc
child 440
7c4b9cba09ca
equal deleted inserted replaced
431:bb7da585debc 433:605bb5dc34f1
47 47
48 UiContainerPrivate *ctn = ui_obj_container(obj); 48 UiContainerPrivate *ctn = ui_obj_container(obj);
49 UI_APPLY_LAYOUT(ctn->layout, args); 49 UI_APPLY_LAYOUT(ctn->layout, args);
50 50
51 Widget parent = ctn->prepare(ctn, xargs, &n); 51 Widget parent = ctn->prepare(ctn, xargs, &n);
52 52
53 XmString label = NULL; 53 XmString label = NULL;
54 if(args.label) { 54 if(args.label) {
55 label = XmStringCreateLocalized((char*)args.label); 55 label = XmStringCreateLocalized((char*)args.label);
56 XtSetArg(xargs[n], XmNlabelString, label); n++; 56 XtSetArg(xargs[n], XmNlabelString, label); n++;
57 } 57 }

mercurial