+// the rendering context used by all GL canvases
+class TestGLContext : public wxGLContext
+{
+public:
+ TestGLContext(wxGLCanvas *canvas);
+
+ // render the cube showing it at given angles
+ void DrawRotatedCube(float xangle, float yangle);
+
+private:
+ // textures for the cube faces
+ GLuint m_textures[6];
+};
+