16 #include "wx/glcanvas.h"
20 #error "OpenGL required: set wxUSE_GLCANVAS to 1 and rebuild the library"
33 glcViewport( wxWindow *parent, wxWindowID
id = wxID_ANY,
int*gl_attrib = NULL);
38 void OnSize( wxSizeEvent& event);
41 void OnMouse( wxMouseEvent& event );
50 bool show_coordinates;
54 bool show_grid_positions;
61 #endif // _GLCVIEWPORT_H
void OnSize(wxSizeEvent &event)
void OnPaint(wxPaintEvent &event)
void OnMouse(wxMouseEvent &event)
void OnEraseBackgroun(wxEraseEvent &event)
glcViewport(wxWindow *parent, wxWindowID id=wxID_ANY, int *gl_attrib=NULL)