]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/GLCanvas.py
merge from 2.8 branch
[wxWidgets.git] / wxPython / demo / GLCanvas.py
index dd8716e63eece3ee03c51af1b1df043f70a2be4c..efffd3d9b5f7d135dc4e928cb42b58dbe35fc28a 100644 (file)
@@ -1,5 +1,6 @@
 
 import wx
 
 import wx
+import sys
 
 try:
     from wx import glcanvas
 
 try:
     from wx import glcanvas
@@ -230,7 +231,7 @@ class ConeCanvas(MyCanvasBase):
         # position viewer
         glTranslatef(0.0, 0.0, -2.0);
         #
         # position viewer
         glTranslatef(0.0, 0.0, -2.0);
         #
-        glutInit([])
+        glutInit(sys.argv)
 
 
     def OnDraw(self):
 
 
     def OnDraw(self):