Set transparent brush for painting temp graph's background

This should fix the weird graph background for #359
master
Guillaume Seguin 2013-05-17 16:21:00 +02:00
parent 102a14ff38
commit 94d69f793c
1 changed files with 1 additions and 2 deletions

View File

@ -79,8 +79,7 @@ class Graph(BufferedCanvas):
#b = gc.CreateLinearGradientBrush(0, 0, w, h, col1, col2)
gc.SetPen(wx.Pen(wx.Colour(255, 0, 0, 0), 4))
#gc.SetBrush(gc.CreateBrush(wx.Brush(wx.Colour(245, 245, 255, 252))))
#gc.SetBrush(b)
gc.SetBrush(gc.CreateBrush(wx.Brush(wx.Colour(0, 0, 0, 0))))
gc.DrawRectangle(0, 0, self.width, self.height)
#gc.SetBrush(wx.Brush(wx.Colour(245, 245, 255, 52)))