From fad165036083333e4ad23b3b0e84a012c122cb83 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 9 Jun 2006 19:59:06 +0000 Subject: [PATCH] Using buffered drawing won't let the themed background show through, 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/wx/lib/buttons.py b/wxPython/wx/lib/buttons.py index e01fd4b55b..ea8fea98b5 100644 --- a/wxPython/wx/lib/buttons.py +++ b/wxPython/wx/lib/buttons.py @@ -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: