From 40d989f297d1221e744a537329762a1efbbed566 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 1 Oct 2019 01:21:06 +0200 Subject: [PATCH] Revert "Use white background when rendering print preview" This reverts commit 70f0900799b670107982d683cecf216453fc67fe. It is not necessary any more after fixes to wxDC::Clear() in the previous commits. --- src/common/prntbase.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index 3ee6ee2144..dd52c006d8 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -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);