// the update rectangle
wxRect rectUpdate = GetUpdateClientRect();
- // Fill it with background colour
- dc.SetBrush(GetBackgroundColour());
+ // fill it with background colour
+ dc.SetBackground(GetBackgroundColour());
dc.Clear();
// the bounding rectangle of the current line