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
This commit is contained in:
@@ -600,7 +600,8 @@ class MySplashScreen(wxSplashScreen):
|
|||||||
bmp = wxImage(opj("bitmaps/splash.gif")).ConvertToBitmap()
|
bmp = wxImage(opj("bitmaps/splash.gif")).ConvertToBitmap()
|
||||||
wxSplashScreen.__init__(self, bmp,
|
wxSplashScreen.__init__(self, bmp,
|
||||||
wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT,
|
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)
|
EVT_CLOSE(self, self.OnClose)
|
||||||
|
|
||||||
def OnClose(self, evt):
|
def OnClose(self, evt):
|
||||||
|
Reference in New Issue
Block a user