.ico icons work with either windows or linux
authoretisserant
Fri, 29 Feb 2008 11:01:03 +0100
changeset 183 99d77995b4ea
parent 182 aad505fc468f
child 184 d3e6484ebe85
.ico icons work with either windows or linux
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__':