Revert "Use white background when rendering print preview"

This reverts commit 70f0900799.

It is not necessary any more after fixes to wxDC::Clear() in the
previous commits.
This commit is contained in:
Vadim Zeitlin
2019-10-01 01:21:06 +02:00
parent 1f8b73b0d8
commit 40d989f297

View File

@@ -2054,7 +2054,6 @@ bool wxPrintPreviewBase::RenderPageIntoBitmap(wxBitmap& bmp, int pageNum)
{
wxMemoryDC memoryDC;
memoryDC.SelectObject(bmp);
memoryDC.SetBackground(*wxWHITE_BRUSH);
memoryDC.Clear();
return RenderPageIntoDC(memoryDC, pageNum);