X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b089c5e8c8a2140258d150ca1ce42afd3b79e1b..afbe906abdf9aa69a56571b8b20b095351dd8f34:/samples/opengl/cube/cube.h diff --git a/samples/opengl/cube/cube.h b/samples/opengl/cube/cube.h index 66732f2453..be348b5427 100644 --- a/samples/opengl/cube/cube.h +++ b/samples/opengl/cube/cube.h @@ -12,7 +12,7 @@ #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;