beremiz

SetIcon for Beremiz fixed

2008-03-05, lbessard
b9aba2d44b3e
Parents b8512cf4dee9
Children 13d45f7e0248
SetIcon for Beremiz fixed
  • +2 -6
    Beremiz.py
  • --- a/Beremiz.py Tue Mar 04 08:50:52 2008 +0100
    +++ b/Beremiz.py Wed Mar 05 10:04:28 2008 +0100
    @@ -383,11 +383,7 @@
    self.Log = LogPseudoFile(self.LogConsole)
    # Add beremiz's icon in top left corner of the frame
    - if wx.Platform == '__WXMSW__':
    - icon = wx.Icon(os.path.join(CWD,"images","brz.ico"),wx.BITMAP_TYPE_ICO)
    - else:
    - icon = wx.Icon(os.path.join(CWD,"images","brz.png"),wx.BITMAP_TYPE_PNG)
    - self.SetIcon(icon)
    + self.SetIcon(wx.Icon(os.path.join(CWD, "images", "brz.ico"), wx.BITMAP_TYPE_ICO))
    self.PluginRoot = PluginsRoot(self)
    self.DisableEvents = False
    @@ -1205,7 +1201,7 @@
    event.Skip()
    def OnBeremizMenu(self, event):
    - docclass.docpdf.open_pdf(os.path.join(CWD, "doc","manual_beremiz.pdf"))
    + docclass.docpdf.open_pdf(os.path.join(CWD, "doc", "manual_beremiz.pdf"))
    event.Skip()
    def OnAboutMenu(self, event):