/////////////////////////////////////////////////////////////////////////////
-// Name: view.h
+// Name: contrib/samples/ogl/ogledit/view.h
// Purpose: View-related classes
// Author: Julian Smart
// Modified by:
#define _OGLSAMPLE_VIEW_H_
#include "doc.h"
-#include <wx/ogl/ogl.h>
+#include "wx/ogl/ogl.h"
class MyCanvas: public wxShapeCanvas
{
public:
wxFrame *frame;
MyCanvas *canvas;
-
+
DiagramView(void) { canvas = NULL; frame = NULL; };
~DiagramView(void) {};
wxShape *FindSelectedShape(void);
-// void OnMenuCommand(int cmd);
-
void OnCut(wxCommandEvent& event);
void OnChangeBackgroundColour(wxCommandEvent& event);
void OnEditLabel(wxCommandEvent& event);