]> git.saurik.com Git - wxWidgets.git/commitdiff
workaround for assert about wxFRAME_FLOAT_ON_PARENT
authorRobin Dunn <robin@alldunn.com>
Mon, 27 May 2002 18:39:46 +0000 (18:39 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 27 May 2002 18:39:46 +0000 (18:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/Main.py

index 15b039e16057de8b51adc4441a29eaeb63c1e228..1a716a049ce45a2cb9f29e0fde1d8affb2ee8ff0 100644 (file)
@@ -600,7 +600,8 @@ class MySplashScreen(wxSplashScreen):
         bmp = wxImage(opj("bitmaps/splash.gif")).ConvertToBitmap()
         wxSplashScreen.__init__(self, bmp,
                                 wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT,
-                                4000, None, -1)
+                                4000, None, -1,
+                                style = wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP)
         EVT_CLOSE(self, self.OnClose)
 
     def OnClose(self, evt):