From 6b3f0bd28a3546d8014c86355851ee8cb41c5e14 Mon Sep 17 00:00:00 2001 From: ccremers Date: Tue, 8 Aug 2006 13:58:56 +0000 Subject: [PATCH] - Solved background colour issue. --- gui/Attackwindow.py | 2 ++ gui/Scytherthread.py | 1 + 2 files changed, 3 insertions(+) diff --git a/gui/Attackwindow.py b/gui/Attackwindow.py index 4017bc3..63b1454 100644 --- a/gui/Attackwindow.py +++ b/gui/Attackwindow.py @@ -26,6 +26,7 @@ class AttackDisplay(wx.ScrolledWindow): self.attack = attack wx.ScrolledWindow.__init__(self,parent,id=-1) + self.SetBackgroundColour('White') self.Bind(wx.EVT_SIZE, self.OnSize) self.Image = wx.StaticBitmap(self, -1, wx.EmptyBitmap(1,1)) @@ -116,6 +117,7 @@ class AttackWindow(wx.Frame): global usePIL super(AttackWindow, self).__init__(None, size=(400,800)) + self.SetBackgroundColour('Default') self.claim = cl # TODO maybe fitting defaults should come from Preferences. diff --git a/gui/Scytherthread.py b/gui/Scytherthread.py index 2850bd7..060cffb 100644 --- a/gui/Scytherthread.py +++ b/gui/Scytherthread.py @@ -230,6 +230,7 @@ class ResultWindow(wx.Frame): ): wx.Frame.__init__(self,parentwindow,-1,title,pos,size,style) + self.SetBackgroundColour('Default') Icon.ScytherIcon(self) self.parent = parent