FreeGLUT with wxWidgets

So there are probably at least three different forums / mailing lists this question could have been posted to, but I figured I’d try this one first.

I am using FreeGLUT’s implementation of GLUT. I would like to use some of the drawing routines, e.g. glutSolidTeapot, glutSolidSphere, etc. within my application. I want to do so without calling glutInit because I do not want my message pipeline hooked since I am already using wxWidgets for my GUI. Is there any way to use it without requiring it to install its event message handler?


You can always extract the OpenGL source code from this archive.

e.g. the GL code for glutSolidTeapot is in /Mesa-7.0.2/src/glut/glx/glut_teapot.c