- Solved background colour issue.

This commit is contained in:
ccremers 2006-08-08 13:58:56 +00:00
parent c1c53e8e2c
commit 6b3f0bd28a
2 changed files with 3 additions and 0 deletions

View File

@ -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.

View File

@ -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