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
This commit is contained in:
@@ -262,7 +262,7 @@ class GenButton(wx.PyControl):
|
|||||||
x2 = width-1
|
x2 = width-1
|
||||||
y2 = height-1
|
y2 = height-1
|
||||||
|
|
||||||
dc = wx.BufferedPaintDC(self)
|
dc = wx.PaintDC(self)
|
||||||
brush = None
|
brush = None
|
||||||
|
|
||||||
if self.up:
|
if self.up:
|
||||||
|
Reference in New Issue
Block a user