From c1ec68ed8296a97914aed9062f27657677fb55ed Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Thu, 7 Oct 2010 20:51:05 +0300 Subject: [PATCH] Added proper icon to chareditor window (it has none on msw, it inherited the parent icon on wxgtk) --- gui/characterEditor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/characterEditor.py b/gui/characterEditor.py index a78e9b4a5..0263c7b2d 100644 --- a/gui/characterEditor.py +++ b/gui/characterEditor.py @@ -36,6 +36,9 @@ class CharacterEditor(wx.Frame): wx.Frame.__init__ (self, parent, id=wx.ID_ANY, title=u"pyfa: Character Editor", pos=wx.DefaultPosition, size=wx.Size(641, 600), style=wx.DEFAULT_FRAME_STYLE|wx.FRAME_FLOAT_ON_PARENT|wx.TAB_TRAVERSAL) + i = wx.IconFromBitmap(bitmapLoader.getBitmap("character_small", "icons")) + self.SetIcon(i) + self.disableWin=wx.WindowDisabler(self) self.SetSizeHintsSz(wx.Size(640, 600), wx.DefaultSize) self.SetBackgroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_BTNFACE ) )