- Solved background colour issue.
This commit is contained in:
parent
c1c53e8e2c
commit
6b3f0bd28a
@ -26,6 +26,7 @@ class AttackDisplay(wx.ScrolledWindow):
|
|||||||
self.attack = attack
|
self.attack = attack
|
||||||
|
|
||||||
wx.ScrolledWindow.__init__(self,parent,id=-1)
|
wx.ScrolledWindow.__init__(self,parent,id=-1)
|
||||||
|
self.SetBackgroundColour('White')
|
||||||
|
|
||||||
self.Bind(wx.EVT_SIZE, self.OnSize)
|
self.Bind(wx.EVT_SIZE, self.OnSize)
|
||||||
self.Image = wx.StaticBitmap(self, -1, wx.EmptyBitmap(1,1))
|
self.Image = wx.StaticBitmap(self, -1, wx.EmptyBitmap(1,1))
|
||||||
@ -116,6 +117,7 @@ class AttackWindow(wx.Frame):
|
|||||||
global usePIL
|
global usePIL
|
||||||
|
|
||||||
super(AttackWindow, self).__init__(None, size=(400,800))
|
super(AttackWindow, self).__init__(None, size=(400,800))
|
||||||
|
self.SetBackgroundColour('Default')
|
||||||
self.claim = cl
|
self.claim = cl
|
||||||
|
|
||||||
# TODO maybe fitting defaults should come from Preferences.
|
# TODO maybe fitting defaults should come from Preferences.
|
||||||
|
@ -230,6 +230,7 @@ class ResultWindow(wx.Frame):
|
|||||||
):
|
):
|
||||||
|
|
||||||
wx.Frame.__init__(self,parentwindow,-1,title,pos,size,style)
|
wx.Frame.__init__(self,parentwindow,-1,title,pos,size,style)
|
||||||
|
self.SetBackgroundColour('Default')
|
||||||
Icon.ScytherIcon(self)
|
Icon.ScytherIcon(self)
|
||||||
|
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
|
Loading…
Reference in New Issue
Block a user