]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/vlbox.cpp
Build fix after wxColourBase introduction.
[wxWidgets.git] / src / generic / vlbox.cpp
index d2e6964fdd392d5bf21fe7581175cb4c6d559761..3bd1a36e9928162a90e64de1d2beba589d49f5c3 100644 (file)
@@ -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