]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/gtk/glcanvas.py
Second phase of OOR completed. (Original python object return for
[wxWidgets.git] / wxPython / contrib / glcanvas / gtk / glcanvas.py
index 03c139fd2b560881aa2a276ecd1be12bbe9e0e0c..485a032df1831a4180b34a54fbe97248f4cdbf11 100644 (file)
@@ -107,10 +107,16 @@ class wxGLCanvas(wxGLCanvasPtr):
     def __init__(self,*_args,**_kwargs):
         self.this = apply(glcanvasc.new_wxGLCanvas,_args,_kwargs)
         self.thisown = 1
-        #wx._StdWindowCallbacks(self)
+        self._setOORInfo(self)
 
 
 
+def wxGLCanvasWithContext(*_args,**_kwargs):
+    val = wxGLCanvasPtr(apply(glcanvasc.new_wxGLCanvasWithContext,_args,_kwargs))
+    val.thisown = 1
+    val._setOORInfo(self)
+    return val
+