]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxGLCanvas.py
delete the .pyc files before making a preview
[wxWidgets.git] / wxPython / demo / wxGLCanvas.py
index 3f2a482d17bda3121a923599b8b9704cf1c96148..51c231e22a1852097213e63c7cee6af184c4db22 100644 (file)
@@ -38,7 +38,7 @@ if not haveGLCanvas:
 
 elif not haveOpenGL:
     def runTest(frame, nb, log):
-        dlg = wxMessageDialog(
+        dlg = wx.MessageDialog(
             frame, 'The OpenGL package was not found.  You can get it at\n'
             'http://PyOpenGL.sourceforge.net/', 'Sorry', wx.OK | wx.ICON_INFORMATION
             )