[comp.windows.x] Problem with HP public domain textedit widget

justin@insignia.UUCP (Justin Koprowski) (06/12/89)

   I have a program based on the HP public domain widgets and instrinsics.
Whenever I run it I get a toolkit warning of the form "Overriding previous
translation manager actions".  This happens when the first textedit widget
is created. 

   The same program works fine if it's compiled on an HP machine
using the default Xt library.  I'm working on another platform, (Tektronix),
which has R3 intrinsics so I have to use the R2 public domain software for 
the HP widgets to work.

   A small example program is included.  Does anyone have any ideas on this
one ?  Are there any patches I've missed ?

   Thanks in advance,

	Justin Koprowski	justin@insignia%ukc.ac.uk

	Insignia Solutions Ltd.,
	Carrington House,
	Oxford Road,
	Bucks
	UK

------------------------------------------------------------------------------
#include <stdio.h>
#include <X11/StringDefs.h>
#include <X11/Intrinsic.h>
#include <Xw/TextEdit.h>

main(argc, argv)
int argc;
char *argv[];
{
    Arg arglist[10];            /* Argument list for X toolkit functions */

    Widget top_level, test_box;

    top_level = XtInitialize("main", "TEst", NULL, NULL, &argc, argv);

/*
 * Create a textedit box 250 x 25.
 */

    XtSetArg(arglist[0], XtNwidth, 250);
    XtSetArg(arglist[1], XtNheight, 25);
    test_box = XtCreateManagedWidget("test_box", XwtexteditWidgetClass,
                                      top_level, arglist, 2);

    XtPopup(top_level, XtGrabExclusive);
    XtMainLoop();
}