Allow both SetCurrent() and SetCurrent(context)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-24 01:08:17 +00:00
parent bbc8f304c6
commit 7f44209657
6 changed files with 114 additions and 30 deletions

View File

@@ -103,9 +103,9 @@ class GLCanvas(_core.Window):
_glcanvas.GLCanvas_swiginit(self,_glcanvas.new_GLCanvas(*args, **kwargs))
self._setOORInfo(self)
def SetCurrent(*args, **kwargs):
def SetCurrent(*args):
"""SetCurrent(self)"""
return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs)
return _glcanvas.GLCanvas_SetCurrent(*args)
def SetColour(*args, **kwargs):
"""SetColour(self, String colour)"""