From: Robin Dunn Date: Mon, 27 May 2002 18:39:46 +0000 (+0000) Subject: workaround for assert about wxFRAME_FLOAT_ON_PARENT X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/40c4c5a3b5c15508cd0765682d351620a3c5fe5c workaround for assert about wxFRAME_FLOAT_ON_PARENT git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 15b039e160..1a716a049c 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -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):