X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..ed177375b27f8b80231a42638314c9809e6e945d:/contrib/samples/ogl/ogledit/view.h diff --git a/contrib/samples/ogl/ogledit/view.h b/contrib/samples/ogl/ogledit/view.h index 626672bd16..363696eb0e 100644 --- a/contrib/samples/ogl/ogledit/view.h +++ b/contrib/samples/ogl/ogledit/view.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: view.h +// Name: contrib/samples/ogl/ogledit/view.h // Purpose: View-related classes // Author: Julian Smart // Modified by: @@ -13,7 +13,7 @@ #define _OGLSAMPLE_VIEW_H_ #include "doc.h" -#include +#include "wx/ogl/ogl.h" class MyCanvas: public wxShapeCanvas { @@ -51,7 +51,7 @@ class DiagramView: public wxView public: wxFrame *frame; MyCanvas *canvas; - + DiagramView(void) { canvas = NULL; frame = NULL; }; ~DiagramView(void) {}; @@ -62,8 +62,6 @@ class DiagramView: public wxView wxShape *FindSelectedShape(void); -// void OnMenuCommand(int cmd); - void OnCut(wxCommandEvent& event); void OnChangeBackgroundColour(wxCommandEvent& event); void OnEditLabel(wxCommandEvent& event);