]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/msw/glcanvas.py
Another package name fix
[wxWidgets.git] / wxPython / contrib / glcanvas / msw / glcanvas.py
index 755332e2f8ffafb88950a054d12bdc54c439273a..dabff1a972a492798d6e07db83b270ff6cfab1d9 100644 (file)
@@ -104,9 +104,12 @@ class GLCanvas(_core.Window):
         _glcanvas.GLCanvas_swiginit(self,_glcanvas.new_GLCanvas(*args, **kwargs))
         self._setOORInfo(self)
 
         _glcanvas.GLCanvas_swiginit(self,_glcanvas.new_GLCanvas(*args, **kwargs))
         self._setOORInfo(self)
 
-    def SetCurrent(*args, **kwargs):
-        """SetCurrent(self, GLContext RC)"""
-        return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs)
+    def SetCurrent(*args):
+        """
+        SetCurrent(self)
+        SetCurrent(self, GLContext RC)
+        """
+        return _glcanvas.GLCanvas_SetCurrent(*args)
 
     def SetColour(*args, **kwargs):
         """SetColour(self, String colour)"""
 
     def SetColour(*args, **kwargs):
         """SetColour(self, String colour)"""