]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/oglcanvas.py
Fixed compilation error.
[wxWidgets.git] / wxPython / contrib / ogl / oglcanvas.py
index b80e23933a845b6dc20a97fe243c2203bc677fb8..a2a67b2cae873a6e315d5f65647beb68634b1dd5 100644 (file)
@@ -15,6 +15,8 @@ from events import *
 
 from streams import *
 
 
 from streams import *
 
+from utils import *
+
 from mdi import *
 
 from frames import *
 from mdi import *
 
 from frames import *
@@ -39,8 +41,6 @@ from sizers import *
 
 from filesys import *
 
 
 from filesys import *
 
-from utils import *
-
 from oglbasic import *
 import wx
 class wxDiagramPtr(wxObjectPtr):
 from oglbasic import *
 import wx
 class wxDiagramPtr(wxObjectPtr):
@@ -148,8 +148,8 @@ class wxPyShapeCanvasPtr(wxScrolledWindowPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
     def __init__(self,this):
         self.this = this
         self.thisown = 0
-    def _setSelf(self, *_args, **_kwargs):
-        val = apply(oglcanvasc.wxPyShapeCanvas__setSelf,(self,) + _args, _kwargs)
+    def _setCallbackInfo(self, *_args, **_kwargs):
+        val = apply(oglcanvasc.wxPyShapeCanvas__setCallbackInfo,(self,) + _args, _kwargs)
         return val
     def AddShape(self, *_args, **_kwargs):
         val = apply(oglcanvasc.wxPyShapeCanvas_AddShape,(self,) + _args, _kwargs)
         return val
     def AddShape(self, *_args, **_kwargs):
         val = apply(oglcanvasc.wxPyShapeCanvas_AddShape,(self,) + _args, _kwargs)
@@ -211,9 +211,8 @@ class wxPyShapeCanvas(wxPyShapeCanvasPtr):
     def __init__(self,*_args,**_kwargs):
         self.this = apply(oglcanvasc.new_wxPyShapeCanvas,_args,_kwargs)
         self.thisown = 1
     def __init__(self,*_args,**_kwargs):
         self.this = apply(oglcanvasc.new_wxPyShapeCanvas,_args,_kwargs)
         self.thisown = 1
-        self._setSelf(self, wxPyShapeCanvas)
-        #wx._StdWindowCallbacks(self)
-        #wx._StdOnScrollCallbacks(self)
+        self._setCallbackInfo(self, wxPyShapeCanvas)
+        self._setOORInfo(self)