457 self.ConnectionStatusBar = wx.StatusBar(self, style=wx.ST_SIZEGRIP) |
457 self.ConnectionStatusBar = wx.StatusBar(self, style=wx.ST_SIZEGRIP) |
458 self._init_coll_ConnectionStatusBar_Fields(self.ConnectionStatusBar) |
458 self._init_coll_ConnectionStatusBar_Fields(self.ConnectionStatusBar) |
459 self.SetStatusBar(self.ConnectionStatusBar) |
459 self.SetStatusBar(self.ConnectionStatusBar) |
460 |
460 |
461 def __init__(self, parent, projectOpen=None, buildpath=None, ctr=None, debug=True): |
461 def __init__(self, parent, projectOpen=None, buildpath=None, ctr=None, debug=True): |
|
462 # Add beremiz's icon in top left corner of the frame |
|
463 self.icon = wx.Icon(Bpath("images", "brz.ico"), wx.BITMAP_TYPE_ICO) |
|
464 |
462 IDEFrame.__init__(self, parent, debug) |
465 IDEFrame.__init__(self, parent, debug) |
463 self.Log = LogPseudoFile(self.LogConsole,self.SelectTab) |
466 self.Log = LogPseudoFile(self.LogConsole,self.SelectTab) |
464 |
467 |
465 self.local_runtime = None |
468 self.local_runtime = None |
466 self.runtime_port = None |
469 self.runtime_port = None |
484 |
487 |
485 # Icons for other items |
488 # Icons for other items |
486 for imgname, itemtype in [ |
489 for imgname, itemtype in [ |
487 ("Extension", ITEM_CONFNODE)]: |
490 ("Extension", ITEM_CONFNODE)]: |
488 self.TreeImageDict[itemtype] = self.TreeImageList.Add(GetBitmap(imgname)) |
491 self.TreeImageDict[itemtype] = self.TreeImageList.Add(GetBitmap(imgname)) |
489 |
|
490 # Add beremiz's icon in top left corner of the frame |
|
491 self.SetIcon(wx.Icon(Bpath("images", "brz.ico"), wx.BITMAP_TYPE_ICO)) |
|
492 |
492 |
493 if projectOpen is not None: |
493 if projectOpen is not None: |
494 projectOpen = DecodeFileSystemPath(projectOpen, False) |
494 projectOpen = DecodeFileSystemPath(projectOpen, False) |
495 |
495 |
496 if projectOpen is not None and os.path.isdir(projectOpen): |
496 if projectOpen is not None and os.path.isdir(projectOpen): |