(void) sprintf(buf, "%s Widget: The Simple Widget class method 'change_sensitive' is undefined.\nA function must be defined or inherited.", c->core_class.class_name); XtWarning(buf);
len = strlen(msg1) + strlen(c->core_class.class_name) + 1; pbuf = XtStackAlloc(len, buf); if (pbuf != NULL) { sprintf(pbuf, "%s%s", c->core_class.class_name, msg1); XtWarning(pbuf); XtStackFree(pbuf, buf); }
static void ClassPartInitialize(class)    WidgetClass class;{    SimpleWidgetClass c     = (SimpleWidgetClass) class;    SimpleWidgetClass super = (SimpleWidgetClass)      c->core_class.superclass;    if (c->simple_class.change_sensitive == NULL) {	char buf[BUFSIZ];	(void) sprintf(buf,		"%s Widget: The Simple Widget class method 'change_sensitive' is undefined.\nA function must be defined or inherited.",		c->core_class.class_name);	XtWarning(buf);	c->simple_class.change_sensitive = ChangeSensitive;    }    if (c->simple_class.change_sensitive == XtInheritChangeSensitive)	c->simple_class.change_sensitive = super->simple_class.change_sensitive;}