diff --git a/src/generic/vlbox.cpp b/src/generic/vlbox.cpp index d2e6964fdd..3bd1a36e99 100644 --- a/src/generic/vlbox.cpp +++ b/src/generic/vlbox.cpp @@ -371,8 +371,8 @@ void wxVListBox::OnPaint(wxPaintEvent& WXUNUSED(event)) // 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