276 |
276 |
277 def SetTests(self, tests): |
277 def SetTests(self, tests): |
278 self.Tests = tests |
278 self.Tests = tests |
279 |
279 |
280 class BeremizTaskBarIcon(wx.adv.TaskBarIcon): |
280 class BeremizTaskBarIcon(wx.adv.TaskBarIcon): |
281 TBMENU_START = wx.NewId() |
281 TBMENU_START = wx.NewIdRef() |
282 TBMENU_STOP = wx.NewId() |
282 TBMENU_STOP = wx.NewIdRef() |
283 TBMENU_CHANGE_NAME = wx.NewId() |
283 TBMENU_CHANGE_NAME = wx.NewIdRef() |
284 TBMENU_CHANGE_PORT = wx.NewId() |
284 TBMENU_CHANGE_PORT = wx.NewIdRef() |
285 TBMENU_CHANGE_INTERFACE = wx.NewId() |
285 TBMENU_CHANGE_INTERFACE = wx.NewIdRef() |
286 TBMENU_LIVE_SHELL = wx.NewId() |
286 TBMENU_LIVE_SHELL = wx.NewIdRef() |
287 TBMENU_WXINSPECTOR = wx.NewId() |
287 TBMENU_WXINSPECTOR = wx.NewIdRef() |
288 TBMENU_CHANGE_WD = wx.NewId() |
288 TBMENU_CHANGE_WD = wx.NewIdRef() |
289 TBMENU_QUIT = wx.NewId() |
289 TBMENU_QUIT = wx.NewIdRef() |
290 |
290 |
291 def __init__(self, pyroserver): |
291 def __init__(self, pyroserver): |
292 wx.adv.TaskBarIcon.__init__(self) |
292 wx.adv.TaskBarIcon.__init__(self) |
293 self.pyroserver = pyroserver |
293 self.pyroserver = pyroserver |
294 # Set the image |
294 # Set the image |