]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/hangman.py
added missing destructor for Darwin/Mac OS X (wxGtk, wxMotif, wxMac)
[wxWidgets.git] / wxPython / demo / hangman.py
index 31c7c72fb3744ed485c8567f853e2593cf217495..6d59a85d15e7f433b9a41a69e078775a1a7ed48e 100644 (file)
@@ -431,7 +431,7 @@ class MyApp(wxApp):
         else:
             defaultfile = ""
         wf = WordFetcher(defaultfile)
-        frame = MyFrame(NULL, wf)
+        frame = MyFrame(None, wf)
         self.SetTopWindow(frame)
         frame.Show(TRUE)
         return TRUE