fixed bug with not taking background colour into account introduced in 1.24

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-04-14 15:22:31 +00:00
parent 77631b1d81
commit 959b1a338e

View File

@@ -371,8 +371,8 @@ void wxVListBox::OnPaint(wxPaintEvent& WXUNUSED(event))
// the update rectangle // the update rectangle
wxRect rectUpdate = GetUpdateClientRect(); wxRect rectUpdate = GetUpdateClientRect();
// Fill it with background colour // fill it with background colour
dc.SetBrush(GetBackgroundColour()); dc.SetBackground(GetBackgroundColour());
dc.Clear(); dc.Clear();
// the bounding rectangle of the current line // the bounding rectangle of the current line