info-inventor-dev
[Top] [All Lists]

bad undefine in SoGLwDrawA.c

To: <info-inventor-dev@xxxxxxxxxxx>
Subject: bad undefine in SoGLwDrawA.c
From: Andrew Miller <amiller@xxxxxxxxxxx>
Date: Wed, 31 Oct 2001 19:19:07 +0100 (MET)
Sender: owner-info-inventor-dev@xxxxxxxxxxx
Hi,
I've been having trouble getting a viewer to receive keyboard focus
when it's combined with other motif widgets in a window.  By looking
at LessTif Debug output I found the SoXtGLWidget was not correctly
getting the widgetNavigable funtion pointer from its superclass.
Then I noticed on lines 168-170 of SoGLwDrawA.c __GLX_MOTIF is
undefined:

#ifndef __sgi
#undef __GLX_MOTIF
#endif /* !__sgi */

and this affects the rest of the file.  Commenting this out and
recompiling fixed my problem.  I assume this is not meant to be there
anymore?

Thanks,
  -Andrew Miller





<Prev in Thread] Current Thread [Next in Thread>
  • bad undefine in SoGLwDrawA.c, Andrew Miller <=