- colour = wxColour(int(r), int(g), int(b))
- self.buffer.SetPen(wxPen(colour, 1, wxSOLID))
- self.buffer.DrawRectangle(0, y_pos, 15, 1)
+ colour = wx.Colour(int(r), int(g), int(b))
+ self.buffer.SetPen(wx.Pen(colour, 1, wx.SOLID))
+ self.buffer.DrawRectangle((0, y_pos), (15, 1))