X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de8137ac5c47102f0815e4177f31dc2f1a128f65..3c69a2ec864e94f58243500ca6d41c980b0fa4fe:/wxPython/demo/GLCanvas.py diff --git a/wxPython/demo/GLCanvas.py b/wxPython/demo/GLCanvas.py index dd8716e63e..efffd3d9b5 100644 --- a/wxPython/demo/GLCanvas.py +++ b/wxPython/demo/GLCanvas.py @@ -1,5 +1,6 @@ import wx +import sys try: from wx import glcanvas @@ -230,7 +231,7 @@ class ConeCanvas(MyCanvasBase): # position viewer glTranslatef(0.0, 0.0, -2.0); # - glutInit([]) + glutInit(sys.argv) def OnDraw(self):