X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e20fcc5517f3a638e45a6c826e81e5dd0b62ce4..fad165036083333e4ad23b3b0e84a012c122cb83:/wxPython/wx/lib/buttons.py?ds=sidebyside 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: