]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/DialogUnits.py
In GetPath(), don't append separator if there's already one at the end
[wxWidgets.git] / wxPython / demo / DialogUnits.py
index 7f369dd40ffcbe3692a0eec00a6e4001235d0a40..eca857897a6f14591c1c558a3c7e5b4c4738ee71 100644 (file)
@@ -87,7 +87,7 @@ if __name__ == "__main__":
         def OnInit(self):
 
             # Create an instance of our customized Frame class
-            frame = MyFrame(NULL, -1, "This is a test")
+            frame = MyFrame(None, -1, "This is a test")
             frame.Show(true)
 
             # Tell wxWindows that this is our main window