X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2265822fec3d0fa383dc6e043cad1a12a0e8418..56b9c74101566aa241d1846a148d3a01980b7431:/utils/glcanvas/samples/cube/cube.h?ds=sidebyside diff --git a/utils/glcanvas/samples/cube/cube.h b/utils/glcanvas/samples/cube/cube.h index f3dc44ac49..5ae1fd9f7f 100644 --- a/utils/glcanvas/samples/cube/cube.h +++ b/utils/glcanvas/samples/cube/cube.h @@ -19,7 +19,6 @@ class MyApp: public wxApp { public: bool OnInit(void); - void InitGL(void); }; // Define a new frame type @@ -48,6 +47,11 @@ class TestGLCanvas: public wxGLCanvas void OnPaint(wxPaintEvent& event); void OnSize(wxSizeEvent& event); void OnEraseBackground(wxEraseEvent& event); + void InitGL(void); + + private: + + bool m_init; DECLARE_EVENT_TABLE() };