fix pasteboard bg filling
svn: r5934
This commit is contained in:
parent
b49fbe2765
commit
3a84b393a4
|
@ -1554,7 +1554,7 @@ void wxMediaPasteboard::Draw(wxDC *dc, double dx, double dy,
|
|||
if (bgColor == wxWHITE)
|
||||
wb = whiteBrush;
|
||||
else
|
||||
wb = wxTheBrushList->FindOrCreateBrush("WHITE", wxSOLID);
|
||||
wb = wxTheBrushList->FindOrCreateBrush(bgColor, wxSOLID);
|
||||
dc->SetBrush(wb);
|
||||
dc->SetPen(invisiPen);
|
||||
dc->DrawRectangle(dcx, dcy,
|
||||
|
|
Loading…
Reference in New Issue
Block a user