X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ba06d5a8ccf8c224fcfbd52fa01a55abf7befbd..d7903e1336b9a8f220b6495999feb2977e3901d7:/contrib/samples/ogl/ogledit/view.h?ds=inline diff --git a/contrib/samples/ogl/ogledit/view.h b/contrib/samples/ogl/ogledit/view.h index f9c27952f3..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: @@ -12,12 +12,8 @@ #ifndef _OGLSAMPLE_VIEW_H_ #define _OGLSAMPLE_VIEW_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface "view.h" -#endif - #include "doc.h" -#include +#include "wx/ogl/ogl.h" class MyCanvas: public wxShapeCanvas { @@ -55,7 +51,7 @@ class DiagramView: public wxView public: wxFrame *frame; MyCanvas *canvas; - + DiagramView(void) { canvas = NULL; frame = NULL; }; ~DiagramView(void) {}; @@ -66,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);