int argc,
char *argv[]) ;
static int Text_VarAndWidget(
- int (*func)(Widget w),
+ long (*func)(Widget w),
Boolean varIsString,
int argc,
char *argv[]) ;
return(1);
}
- res = DtHelpReturnSelectedWidgetId(w->w, NULL, &retWidget);
+ res = DtHelpReturnSelectedWidgetId(w->w, 0, &retWidget);
XSync(XtDisplay(w->w), False);
f.addr = (caddr_t)&res;
static int
Text_VarAndWidget(
- int (*func)(Widget w),
+ long (*func)(Widget w),
Boolean varIsString,
int argc,
char *argv[] )
int argc,
char *argv[] )
{
- return (Text_VarAndWidget((int (*)())XmTextGetTopCharacter, False, argc,
+ return (Text_VarAndWidget((long (*)())XmTextGetTopCharacter, False, argc,
argv));
}
int argc,
char *argv[] )
{
- return (Text_VarAndWidget(XmTextGetBaseline, False, argc, argv));
+ return (Text_VarAndWidget((long (*)())XmTextGetBaseline, False, argc, argv));
}
int argc,
char *argv[] )
{
- return (Text_VarAndWidget((int (*)())XmTextGetInsertionPosition, False,
+ return (Text_VarAndWidget((long (*)())XmTextGetInsertionPosition, False,
argc, argv));
}
int argc,
char *argv[] )
{
- return (Text_VarAndWidget((int (*)())XmTextGetLastPosition, False, argc,
+ return (Text_VarAndWidget((long (*)())XmTextGetLastPosition, False, argc,
argv));
}
int argc,
char *argv[] )
{
- return (Text_VarAndWidget(XmTextGetMaxLength, False, argc, argv));
+ return (Text_VarAndWidget((long (*)())XmTextGetMaxLength, False, argc, argv));
}
int argc,
char *argv[] )
{
- return (Text_VarAndWidget((int (*)())XmTextGetSelection, True, argc, argv));
+ return (Text_VarAndWidget((long (*)())XmTextGetSelection, True, argc, argv));
}
int argc,
char *argv[] )
{
- return (Text_VarAndWidget((int (*)())XmTextGetString, True, argc, argv));
+ return (Text_VarAndWidget((long (*)())XmTextGetString, True, argc, argv));
}