X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19cf4f80860b85e06c410ddbfc49ad58e5c6f5b5..decb3a6a16ea5acf1dfcdb1b70cb6edaa09840c0:/wxPython/contrib/glcanvas/glcanvas.i diff --git a/wxPython/contrib/glcanvas/glcanvas.i b/wxPython/contrib/glcanvas/glcanvas.i index 780e91b986..30be533da8 100644 --- a/wxPython/contrib/glcanvas/glcanvas.i +++ b/wxPython/contrib/glcanvas/glcanvas.i @@ -15,7 +15,12 @@ %{ #include "export.h" +#ifdef __WXMSW__ #include "myglcanvas.h" +#else +#include +#endif + %} //--------------------------------------------------------------------------- @@ -47,7 +52,7 @@ class wxGLCanvas; //--------------------------------------------------------------------------- -class wxGLContext { +class wxGLContext : public wxObject { public: wxGLContext(bool isRGB, wxGLCanvas *win, const wxPalette& palette = wxNullPalette); ~wxGLContext();