Hi Anders,
Sure, which is what I did for Win32. But to what should I cast it in other cases? X11? There is only two relevant classes there: GraphicsWindow and GraphicsWindowWin32... I would have expected something like GraphicsWindowX11?
If you are looking at the include dir of an installed OSG, you will only have the header(s) relevant to the platform it's installed on. In the OSG source tree, in the include/osgViewer directory, you'll see GraphicsWindowWin32, GraphicsWindowX11, GraphicsWindowCarbon, GraphicsWindowCocoa, etc.
You'll have to guard inclusion of these headers to make sure you only include them on the right platform.
Hope this helps, J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

