Beremiz.py
changeset 571 427bf9130d12
parent 569 37af7286dd65
child 588 aa5a08d20ba1
equal deleted inserted replaced
570:46abd6b2f639 571:427bf9130d12
    63         buildpath = args[1]
    63         buildpath = args[1]
    64     else:
    64     else:
    65         projectOpen = None
    65         projectOpen = None
    66         buildpath = None
    66         buildpath = None
    67     
    67     
    68     app = wx.PySimpleApp()
    68     if os.path.exists("BEREMIZ_DEBUG"):
       
    69         __builtins__.BMZ_DBG = True
       
    70     else :
       
    71         __builtins__.BMZ_DBG = False
       
    72 
       
    73     app = wx.PySimpleApp(redirect=BMZ_DBG)
    69     app.SetAppName('beremiz')
    74     app.SetAppName('beremiz')
    70     wx.InitAllImageHandlers()
    75     wx.InitAllImageHandlers()
    71     
    76     
    72     bmp = wx.Image(Bpath("images","splash.png")).ConvertToBitmap()
    77     bmp = wx.Image(Bpath("images","splash.png")).ConvertToBitmap()
    73     splash=wx.SplashScreen(bmp,wx.SPLASH_CENTRE_ON_SCREEN, 1000, None)
    78     splash=wx.SplashScreen(bmp,wx.SPLASH_CENTRE_ON_SCREEN, 1000, None)