Waxing category: things go south now in pygauge

This commit is contained in:
HomeWorld
2010-09-13 13:54:15 +03:00
parent f9964b711b
commit e426123a92

View File

@@ -239,7 +239,7 @@ class PyGauge(wx.PyWindow):
w = rect.width * (float(value) / self._range)
r = copy.copy(rect)
r.width = w
dc.GradientFillLinear(r, c1, c2, wx.EAST)
dc.GradientFillLinear(r, c1, c2, wx.SOUTH)
else:
colour=self.GetBarColour()
dc.SetBrush(wx.Brush(colour))