]> git.saurik.com Git - wxWidgets.git/commitdiff
can put back the wx.BufferedPaintDC now
authorRobin Dunn <robin@alldunn.com>
Fri, 13 Oct 2006 00:15:57 +0000 (00:15 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 13 Oct 2006 00:15:57 +0000 (00:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/flatnotebook.py

index e7a04e46e770afbc396dad0bac5d0e5c2fe6df73..aafa45172bf68f62428fd0155c29a934d26934f5 100644 (file)
@@ -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):
         """