From e9289c102b1606e4f4d5773d9b3ee8f2a58173d0 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Sat, 24 Feb 2018 13:53:56 -0500 Subject: [PATCH] Fix issue in notebook tab preview (this feature hasn't been enabled for a while, but we may want to turn it back on eventually. As such, ensure that we don't run into any problems here) --- gui/chrome_tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/chrome_tabs.py b/gui/chrome_tabs.py index 8aa85929b..9efec9652 100644 --- a/gui/chrome_tabs.py +++ b/gui/chrome_tabs.py @@ -1373,7 +1373,7 @@ class PFNotebookPagePreview(wx.Frame): def OnWindowPaint(self, event): rect = self.GetRect() canvas = wx.Bitmap(rect.width, rect.height) - mdc = wx.AudoBufferedPaintDC(self) + mdc = wx.BufferedPaintDC(self) mdc.SelectObject(canvas) color = wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOW) mdc.SetBackground(wx.Brush(color))