]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/mac/glcanvas.py
Demo cleanup
[wxWidgets.git] / wxPython / contrib / glcanvas / mac / glcanvas.py
index c65ad272523fd817f8e6ca4e8b067400b2e922d0..f9962bb71b05d91d63bf3cb09e31cc1cdb46acde 100644 (file)
@@ -63,14 +63,13 @@ class wxGLContextPtr(wxObjectPtr):
     def __repr__(self):
         return "<C wxGLContext instance at %s>" % (self.this,)
 class wxGLContext(wxGLContextPtr):
-    def __init__(self,*_args,**_kwargs):
-        self.this = apply(glcanvasc.new_wxGLContext,_args,_kwargs)
-        self.thisown = 1
+    def __init__(self,this):
+        self.this = this
 
 
 
 
-class wxGLCanvasPtr(wxScrolledWindowPtr):
+class wxGLCanvasPtr(wxWindowPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0