X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b089c5e8c8a2140258d150ca1ce42afd3b79e1b..16fd964239d70597b0c072d4f3909b3e93460423:/samples/opengl/cube/cube.h diff --git a/samples/opengl/cube/cube.h b/samples/opengl/cube/cube.h index 66732f2453..c01b89e1c3 100644 --- a/samples/opengl/cube/cube.h +++ b/samples/opengl/cube/cube.h @@ -6,13 +6,13 @@ // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_CUBE_H_ #define _WX_CUBE_H_ -#include +#include "wx/glcanvas.h" // Define a new application type class MyApp: public wxApp @@ -30,9 +30,9 @@ public: const wxSize& size, long style = wxDEFAULT_FRAME_STYLE); void OnExit(wxCommandEvent& event); - void OnNewWindow(); - void OnDefRotateLeftKey(); - void OnDefRotateRightKey(); + void OnNewWindow(wxCommandEvent& event); + void OnDefRotateLeftKey(wxCommandEvent& event); + void OnDefRotateRightKey(wxCommandEvent& event); public: TestGLCanvas* m_canvas;