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: