3 #include <osgViewer/Viewer>
4 #include <osgViewer/GraphicsWindow>
5 #include "wx/glcanvas.h"
15 : wxGLContext(win, other)
19 void ReleaseContext(
const wxGLCanvas& win)
21 #if defined(__WXMSW__)
22 wglMakeCurrent((HDC) win.GetHDC(), NULL);
34 void SetCanvas(wxGLCanvas *pCanvas)
38 void CloseOsgContext();
39 bool makeCurrentImplementation();
40 void swapBuffersImplementation();
42 virtual bool releaseContextImplementation();
43 virtual void closeImplementation();
44 virtual bool realizeImplementation();
46 virtual bool valid()
const
50 virtual bool isRealizedImplementation()
const
56 wxGLCanvas* m_pCanvas;