]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
misc fixes for (absense of) the borders
[wxWidgets.git] / wxPython / demo / Main.py
index 8e630857eff261203560c83477588429d26853af..87fc85543cfe64ee616385926c1e7cabf92b7460 100644 (file)
@@ -13,7 +13,6 @@
 
 import sys, os, time, string
 from   wxPython.wx import *
-from   wxPython.lib.splashscreen import SplashScreen
 from   wxPython.html import wxHtmlWindow
 
 import images
@@ -482,7 +481,7 @@ class MySplashScreen(wxSplashScreen):
         frame = wxPythonDemo(None, -1, "wxPython: (A Demonstration)")
         frame.Show(true)
         self.ShowTip(frame)
-        evt.Skip()
+        self.Destroy()
 
     def ShowTip(self, frame):
         try: