--- a/IDEFrame.py Tue Sep 25 18:29:10 2018 +0300 +++ b/IDEFrame.py Tue Sep 25 18:31:17 2018 +0300 @@ -2628,6 +2628,8 @@ def OnPrintPage(self, page): dc = self.GetDC() + dc.SetBackground(wx.WHITE_BRUSH) + dc.Clear() dc.SetUserScale(1.0, 1.0) dc.SetDeviceOrigin(0, 0) dc.printing = not self.Preview