fix pasteboard bg filling

svn: r5934
This commit is contained in:
Matthew Flatt 2007-04-13 23:12:54 +00:00
parent b49fbe2765
commit 3a84b393a4

View File

@ -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,