%{
#include "export.h"
+#ifdef __WXMSW__
#include "myglcanvas.h"
+#else
+#include <wx/glcanvas.h>
+#endif
+
%}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
-class wxGLContext {
+class wxGLContext : public wxObject {
public:
wxGLContext(bool isRGB, wxGLCanvas *win, const wxPalette& palette = wxNullPalette);
~wxGLContext();