- MyFrame(wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& size,
- long style = wxDEFAULT_FRAME_STYLE);
-
- void OnExit(wxCommandEvent& event);
-
-#if wxUSE_GLCANVAS
- void SetCanvas( TestGLCanvas *canvas ) { m_canvas = canvas; }
- TestGLCanvas *GetCanvas() { return m_canvas; }
-
+ MyFrame(wxFrame *frame, const wxString& title, const wxPoint& pos,
+ const wxSize& size, long style = wxDEFAULT_FRAME_STYLE);
+
+ void OnMenuFileOpen(wxCommandEvent& event);
+ void OnMenuFileExit(wxCommandEvent& event);
+ void OnMenuHelpAbout(wxCommandEvent& event);
+
+ void SetCanvas(TestGLCanvas *canvas) { m_canvas = canvas; }
+ TestGLCanvas *GetCanvas() { return m_canvas; }
+