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:
@@ -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
|
||||
|
Reference in New Issue
Block a user