]> git.saurik.com Git - wxWidgets.git/commitdiff
Using buffered drawing won't let the themed background show through,
authorRobin Dunn <robin@alldunn.com>
Fri, 9 Jun 2006 19:59:06 +0000 (19:59 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 9 Jun 2006 19:59:06 +0000 (19:59 +0000)
so use an ordinary wx.PaintDC instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/buttons.py

index e01fd4b55bbc0bad306ef0465b79bf2f8c552ead..ea8fea98b5a49ae875e2ad72c6e694ebac0ed817 100644 (file)
@@ -262,7 +262,7 @@ class GenButton(wx.PyControl):
         x2 = width-1
         y2 = height-1
         
-        dc = wx.BufferedPaintDC(self)
+        dc = wx.PaintDC(self)
         brush = None
         
         if self.up: