X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e70b4d2db930a297f0625b7d43109f793fd3338a..b4eecebd423df0c6efe86d7658cd3df818d67ed8:/wxPython/contrib/glcanvas/msw/glcanvas.py diff --git a/wxPython/contrib/glcanvas/msw/glcanvas.py b/wxPython/contrib/glcanvas/msw/glcanvas.py index 755332e2f8..dabff1a972 100644 --- a/wxPython/contrib/glcanvas/msw/glcanvas.py +++ b/wxPython/contrib/glcanvas/msw/glcanvas.py @@ -104,9 +104,12 @@ class GLCanvas(_core.Window): _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)"""