equal
deleted
inserted
replaced
313 def __init__(self, parent, nodelist = None, projectOpen = None): |
313 def __init__(self, parent, nodelist = None, projectOpen = None): |
314 self.ModeSolo = nodelist == None |
314 self.ModeSolo = nodelist == None |
315 self._init_ctrls(parent) |
315 self._init_ctrls(parent) |
316 self.HtmlFrameOpened = [] |
316 self.HtmlFrameOpened = [] |
317 self.BusId = None |
317 self.BusId = None |
|
318 |
|
319 # Add beremiz's icon in top left corner of the frame |
|
320 if wx.Platform == '__WXMSW__': |
|
321 icon = wx.Icon(os.path.join(ScriptDirectory,"networkedit.ico"),wx.BITMAP_TYPE_ICO) |
|
322 else: |
|
323 icon = wx.Icon(os.path.join(ScriptDirectory,"networkedit.png"),wx.BITMAP_TYPE_PNG) |
|
324 self.SetIcon(icon) |
318 |
325 |
319 if self.ModeSolo: |
326 if self.ModeSolo: |
320 self.Manager = NodeManager() |
327 self.Manager = NodeManager() |
321 if projectOpen: |
328 if projectOpen: |
322 self.NodeList = NodeList(self.Manager) |
329 self.NodeList = NodeList(self.Manager) |