add bzr.ico -> icon for windows installer
authorgreg
Mon, 18 Feb 2008 18:09:17 +0100
changeset 102 18793be117b9
parent 101 93e487ccee14
child 103 05b58747ca5d
add bzr.ico -> icon for windows installer
add icon support for win32 version in Beremiz.py
Beremiz.py
brz.ico
--- a/Beremiz.py	Wed Feb 13 10:44:42 2008 +0100
+++ b/Beremiz.py	Mon Feb 18 18:09:17 2008 +0100
@@ -1271,6 +1271,9 @@
     AddExceptHook(os.getcwd(),__version__)
     
     frame = Beremiz(None, projectOpen)
-
-    frame.Show()
+    if wx.Platform == '__WXMSW__':
+        winicon = wx.Icon(os.path.join(CWD,"brz.ico"))
+        frame.SetIcon(icon)
+    
+	frame.Show()
     app.MainLoop()
Binary file brz.ico has changed