X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/451c13c85ce4338db0853cfc1f148f8c92eaf91c..0c63cc6e4c7f1d489e91ea6dd7fffc19b0abaec9:/samples/opengl/cube/cube.h diff --git a/samples/opengl/cube/cube.h b/samples/opengl/cube/cube.h index 36769b884f..3aa6539ebe 100644 --- a/samples/opengl/cube/cube.h +++ b/samples/opengl/cube/cube.h @@ -67,12 +67,16 @@ public: private: void OnPaint(wxPaintEvent& event); + void Spin(float xSpin, float ySpin); void OnKeyDown(wxKeyEvent& event); + void OnSpinTimer(wxTimerEvent& WXUNUSED(event)); // angles of rotation around x- and y- axis float m_xangle, m_yangle; + wxTimer m_spinTimer; + DECLARE_EVENT_TABLE() };