]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
Script updates
[wxWidgets.git] / wxPython / demo / Main.py
index 909b65de18cc5d3589383a676e2f2c6a4396dc59..76377ae3c1b98d766102f58f0a8f628610b5bd27 100644 (file)
@@ -600,7 +600,7 @@ class wxPythonDemo(wx.Frame):
         splitter2.SetMinimumPaneSize(20)
 
 
         splitter2.SetMinimumPaneSize(20)
 
 
-        # Make the splitter on the right expand the top wind when resized
+        # Make the splitter on the right expand the top window when resized
         def SplitterOnSize(evt):
             splitter = evt.GetEventObject()
             sz = splitter.GetSize()
         def SplitterOnSize(evt):
             splitter = evt.GetEventObject()
             sz = splitter.GetSize()
@@ -930,7 +930,7 @@ def main():
         os.chdir(demoPath)
     except:
         pass
         os.chdir(demoPath)
     except:
         pass
-    app = MyApp(0) #wx.Platform == "__WXMAC__")
+    app = MyApp(wx.Platform == "__WXMAC__")
     app.MainLoop()
 
 
     app.MainLoop()