# HG changeset patch # User etisserant # Date 1204279263 -3600 # Node ID 99d77995b4eaa2b9bae02eecb23b6a337e88870f # Parent aad505fc468f826e3985facd9ee407abddae3e7b .ico icons work with either windows or linux diff -r aad505fc468f -r 99d77995b4ea PLCOpenEditor.py --- a/PLCOpenEditor.py Fri Feb 29 09:52:39 2008 +0100 +++ b/PLCOpenEditor.py Fri Feb 29 11:01:03 2008 +0100 @@ -413,11 +413,7 @@ 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,"images","poe.ico"),wx.BITMAP_TYPE_ICO) - else: - icon = wx.Icon(os.path.join(CWD,"images","poe.png"),wx.BITMAP_TYPE_PNG) + icon = wx.Icon(os.path.join(CWD,"Images","poe.ico"),wx.BITMAP_TYPE_ICO) self.SetIcon(icon) if wx.Platform != '__WXMSW__':