diff --git a/gui/Gui/Attackwindow.py b/gui/Gui/Attackwindow.py index 6a5f053..23f9f42 100644 --- a/gui/Gui/Attackwindow.py +++ b/gui/Gui/Attackwindow.py @@ -52,14 +52,6 @@ class AttackDisplay(wx.ScrolledWindow): wx.ScrolledWindow.__init__(self,parent,id=-1) - # [CC][X] The below statement might be iffy on older versions. - # (Python 2.3? What settings?) - # Cf. bug report Vimal Subra - try: - self.SetBackgroundColour(wx.Colour(255,255,255)) - except: - pass - self.Bind(wx.EVT_SIZE, self.OnSize) self.Image = wx.StaticBitmap(self, -1, wx.EmptyBitmap(1,1)) self.box = wx.BoxSizer(wx.VERTICAL) @@ -248,12 +240,6 @@ class AttackWindow(wx.Frame): def __init__(self,cl): super(AttackWindow, self).__init__(None, size=(800,800)) - # [CC][X] Same here; no background set for safety. - try: - self.SetBackgroundColour('Default') - except: - pass - self.claim = cl # TODO maybe fitting defaults should come from Preferences. diff --git a/gui/Gui/Scytherthread.py b/gui/Gui/Scytherthread.py index c406bf6..ed0878f 100644 --- a/gui/Gui/Scytherthread.py +++ b/gui/Gui/Scytherthread.py @@ -242,7 +242,7 @@ class ResultWindow(wx.Frame): ): wx.Frame.__init__(self,parentwindow,-1,title,pos,size,style) - self.SetBackgroundColour('Default') + Icon.ScytherIcon(self) self.parent = parent