X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97ab0f6ab4898d6ee1e2cad716643cabe40e3268..56ba0394113fe3eba49632c7ad567db9e085ce12:/wxPython/contrib/glcanvas/gtk/glcanvas.py diff --git a/wxPython/contrib/glcanvas/gtk/glcanvas.py b/wxPython/contrib/glcanvas/gtk/glcanvas.py index add8bf8b29..550270f00f 100644 --- a/wxPython/contrib/glcanvas/gtk/glcanvas.py +++ b/wxPython/contrib/glcanvas/gtk/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)""" @@ -120,6 +123,7 @@ class GLCanvas(_core.Window): """GetContext(self) -> GLContext""" return _glcanvas.GLCanvas_GetContext(*args, **kwargs) + Context = property(GetContext,doc="See `GetContext`") _glcanvas.GLCanvas_swigregister(GLCanvas) def GLCanvasWithContext(*args, **kwargs):