]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/mac/glcanvas.py
silence a bogus error message
[wxWidgets.git] / wxPython / contrib / glcanvas / mac / glcanvas.py
index a5991cbf2d187fa306e1027a449553c3964f69fd..a90baddb0f627488a0c0793e4420cd1a63f5a8db 100644 (file)
@@ -104,14 +104,14 @@ class GLCanvasPtr(GLCanvas):
         self.__class__ = GLCanvas
 _glcanvas.GLCanvas_swigregister(GLCanvasPtr)
 
-def wxGLCanvasWithContext(*args, **kwargs):
+def GLCanvasWithContext(*args, **kwargs):
     """
-    wxGLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition, 
+    GLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition, 
         Size size=DefaultSize, 
         long style=0, String name=GLCanvasNameStr, 
         int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas
     """
-    val = _glcanvas.new_wxGLCanvasWithContext(*args, **kwargs)
+    val = _glcanvas.new_GLCanvasWithContext(*args, **kwargs)
     val.thisown = 1
     val._setOORInfo(val)
     return val