X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e7ecb7be084f5815051682b2a5809090ebb2706..8b6e6947fc8fb946391740d66b140413eccb6b6c:/wxPython/contrib/glcanvas/glcanvas.i?ds=sidebyside diff --git a/wxPython/contrib/glcanvas/glcanvas.i b/wxPython/contrib/glcanvas/glcanvas.i index 96f19eb065..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(); @@ -111,8 +116,8 @@ public: %init %{ -// wxClassInfo::CleanUpClasses(); -// wxClassInfo::InitializeClasses(); + wxClassInfo::CleanUpClasses(); + wxClassInfo::InitializeClasses(); %}