PLCOpenEditor.py
changeset 176 18af41faafd1
parent 171 e3d47b4bbd5d
child 177 a3f6670949ba
--- 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: