From 8170f2ee3eeff010b78c8b204f0b6d598c6e1066 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 13 Oct 2006 00:15:57 +0000 Subject: [PATCH] can put back the wx.BufferedPaintDC now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/lib/flatnotebook.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/wxPython/wx/lib/flatnotebook.py b/wxPython/wx/lib/flatnotebook.py index e7a04e46e7..aafa45172b 100644 --- a/wxPython/wx/lib/flatnotebook.py +++ b/wxPython/wx/lib/flatnotebook.py @@ -3549,22 +3549,10 @@ class PageContainer(wx.Panel): def OnPaint(self, event): """ Handles the wx.EVT_PAINT event for L{PageContainer}.""" - # Currently having problems with buffered DCs because of - # recent changes. Just do the buffering ourselves instead. dc = wx.BufferedPaintDC(self) - #dc = wx.AutoBufferedPaintDC(self) - #dc = wx.AutoBufferedPaintDCFactory(self) -## size = self.GetSize() -## bmp = wx.EmptyBitmap(*size) -## dc = wx.MemoryDC() -## dc.SelectObject(bmp) - renderer = self._mgr.GetRenderer(self.GetParent().GetWindowStyleFlag()) renderer.DrawTabs(self, dc) -## pdc = wx.PaintDC(self) -## pdc.Blit(0,0, size.width, size.height, dc, 0,0) - def AddPage(self, caption, selected=True, imgindex=-1): """ -- 2.50.0