Stuff not worth mentioning

This commit is contained in:
HomeWorld
2010-11-17 15:29:23 +02:00
parent 03a4a004ea
commit b797f255d9

View File

@@ -591,7 +591,7 @@ class PFAddRenderer:
class PFTabsContainer(wx.Panel):
def __init__(self, parent, pos = (0,0), size = (100,24), id = wx.ID_ANY):
def __init__(self, parent, pos = (0,0), size = (100,27), id = wx.ID_ANY):
wx.Panel.__init__(self, parent, id , pos, size)
self.tabs = []
width, height = size
@@ -879,7 +879,7 @@ class PFTabsContainer(wx.Panel):
selected = 0
mdc.SetBackground (wx.Brush(self.GetBackgroundColour()))
print self.GetBackgroundColour()
# mdc.SetBackground (wx.Brush((66,113,202)))
mdc.Clear()
@@ -930,7 +930,7 @@ class PFTabsContainer(wx.Panel):
r1 = wx.Rect(0,self.containerHeight -1,selpos,1)
r2 = wx.Rect(0, self.containerHeight -1 , self.width,1)
# mdc.GradientFillLinear(r1, startColor, selColor, wx.EAST)
mdc.GradientFillLinear(r2, selColor, startColor, wx.EAST)
# mdc.GradientFillLinear(r2, selColor, startColor, wx.EAST)
def OnErase(self, event):
pass