You could declare something like

wxGLContext*  m_context;

...in your header and then do:

m_context = new wxGLContext(_canvas);
_canvas->SetCurrent(*m_context);

instead of just SetCurrent();

which for me got it to at least start showing OSG content inside of wxWidget 
windows (but on Linux).

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70101#70101





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to