diff -r cc78572dfbbc -r 18af41faafd1 PLCOpenEditor.py --- a/PLCOpenEditor.py Wed Feb 27 11:12:28 2008 +0100 +++ b/PLCOpenEditor.py Wed Feb 27 11:14:26 2008 +0100 @@ -413,6 +413,13 @@ self._init_ctrls(parent) + # Add beremiz's icon in top left corner of the frame + if wx.Platform == '__WXMSW__': + icon = wx.Icon(os.path.join(CWD,"poe.ico"),wx.BITMAP_TYPE_ICO) + else: + icon = wx.Icon(os.path.join(CWD,"poe.png"),wx.BITMAP_TYPE_PNG) + self.SetIcon(icon) + if wx.Platform != '__WXMSW__': self.TreeImageList = wx.ImageList(16, 16) for language in LANGUAGES: