PLCOpenEditor.py
changeset 181 2981c3d3b088
parent 179 32f269883027
child 182 aad505fc468f
equal deleted inserted replaced
180:3b0d3ea35ee5 181:2981c3d3b088
   413         
   413         
   414         self._init_ctrls(parent)
   414         self._init_ctrls(parent)
   415         
   415         
   416          # Add beremiz's icon in top left corner of the frame
   416          # Add beremiz's icon in top left corner of the frame
   417         if wx.Platform == '__WXMSW__': 
   417         if wx.Platform == '__WXMSW__': 
   418             icon = wx.Icon(os.path.join(CWD,"poe.ico"),wx.BITMAP_TYPE_ICO)
   418             icon = wx.Icon(os.path.join(CWD,"images","poe.ico"),wx.BITMAP_TYPE_ICO)
   419         else:
   419         else:
   420             icon = wx.Icon(os.path.join(CWD,"poe.png"),wx.BITMAP_TYPE_PNG)
   420             icon = wx.Icon(os.path.join(CWD,"images","poe.png"),wx.BITMAP_TYPE_PNG)
   421         self.SetIcon(icon)
   421         self.SetIcon(icon)
   422         
   422         
   423         if wx.Platform != '__WXMSW__':
   423         if wx.Platform != '__WXMSW__':
   424             self.TreeImageList = wx.ImageList(16, 16)
   424             self.TreeImageList = wx.ImageList(16, 16)
   425             for language in LANGUAGES:
   425             for language in LANGUAGES: