]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxGLCanvas.py
added missing destructor for Darwin/Mac OS X (wxGtk, wxMotif, wxMac)
[wxWidgets.git] / wxPython / demo / wxGLCanvas.py
index 8813c3f0cdf59394381f73bfff13264179353a68..652b46dc37092080b00401ff981982d1c94f1b6a 100644 (file)
@@ -233,7 +233,7 @@ overview = """\
 def _test():
     class MyApp(wxApp):
         def OnInit(self):
-            frame = wxFrame(NULL, -1, "GL Demos", wxDefaultPosition, wxSize(600,300))
+            frame = wxFrame(None, -1, "GL Demos", wxDefaultPosition, wxSize(600,300))
             #win = ConeCanvas(frame)
             MySplitter(frame)
             frame.Show(TRUE)