X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e508a2b616e077bf6c9b668b9f8034e1fbd59c4f..e195c8c95fb154d035bab400952fc81c62439549:/wxPython/contrib/glcanvas/glcanvas.i diff --git a/wxPython/contrib/glcanvas/glcanvas.i b/wxPython/contrib/glcanvas/glcanvas.i index dfd9ed4c8d..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();