]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/glcanvas.i
correction for Mac OS compilation
[wxWidgets.git] / wxPython / contrib / glcanvas / glcanvas.i
index dfd9ed4c8da039f7c06d480f2f339d1320b3fd30..30be533da8d077b08b03c4f7a87048525545782d 100644 (file)
 
 %{
 #include "export.h"
+#ifdef __WXMSW__
+#include "myglcanvas.h"
+#else
 #include <wx/glcanvas.h>
+#endif
+
 %}
 
 //---------------------------------------------------------------------------
@@ -47,7 +52,7 @@ class wxGLCanvas;
 
 //---------------------------------------------------------------------------
 
-class wxGLContext {
+class wxGLContext : public wxObject {
 public:
     wxGLContext(bool isRGB, wxGLCanvas *win, const wxPalette& palette = wxNullPalette);
     ~wxGLContext();