Beremiz_service.py
changeset 362 181231bf275f
parent 361 331d698e1118
child 368 86ecd8374dae
equal deleted inserted replaced
361:331d698e1118 362:181231bf275f
   484         
   484         
   485 
   485 
   486 if havewx:
   486 if havewx:
   487     from threading import Semaphore
   487     from threading import Semaphore
   488     wx_eval_lock = Semaphore(0)
   488     wx_eval_lock = Semaphore(0)
   489     app=wx.App(redirect=False)
       
   490     mythread = currentThread()
   489     mythread = currentThread()
   491     
   490     
   492     def statuschange(status):
   491     def statuschange(status):
   493         wx.CallAfter(taskbar_instance.UpdateIcon,status)
   492         wx.CallAfter(taskbar_instance.UpdateIcon,status)
   494         
   493