mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-16 16:57:07 +01:00
auqabutton phoenix fix
This commit is contained in:
@@ -264,8 +264,9 @@ class AquaButton(wx.Control):
|
||||
r = colour.Red() + ((i*rd*100)/high)/100
|
||||
g = colour.Green() + ((i*gd*100)/high)/100
|
||||
b = colour.Blue() + ((i*bd*100)/high)/100
|
||||
a = colour.Alpha()
|
||||
|
||||
return wx.Colour(r, g, b)
|
||||
return wx.Colour(int(r), int(g), int(b), int(a))
|
||||
|
||||
|
||||
def OnPaint(self, event):
|
||||
|
||||
Reference in New Issue
Block a user