diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index dd52c006d8..3ee6ee2144 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -2054,6 +2054,7 @@ bool wxPrintPreviewBase::RenderPageIntoBitmap(wxBitmap& bmp, int pageNum) { wxMemoryDC memoryDC; memoryDC.SelectObject(bmp); + memoryDC.SetBackground(*wxWHITE_BRUSH); memoryDC.Clear(); return RenderPageIntoDC(memoryDC, pageNum);