bool OnInit(void);
};
+#if wxUSE_GLCANVAS
class TestGLCanvas: public wxGLCanvas
{
public:
TestGLCanvas(wxWindow *parent, const wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = "TestGLCanvas",
+ const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = _T("TestGLCanvas"),
int* gl_attrib = NULL);
~TestGLCanvas(void);
DECLARE_EVENT_TABLE()
};
+#endif
class MyFrame: public wxFrame
{
void OnExit(wxCommandEvent& event);
public:
+#if wxUSE_GLCANVAS
TestGLCanvas* m_canvas;
+#endif
DECLARE_EVENT_TABLE()
};