From: Vadim Zeitlin Date: Fri, 14 Apr 2006 15:22:31 +0000 (+0000) Subject: fixed bug with not taking background colour into account introduced in 1.24 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/959b1a338e3b7c0e237b53ef3d7c9b51f4063eb6 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 --- 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