Fix for wxBitmap::UseAlpha on MSW

This commit is contained in:
Robin Dunn
2022-06-28 21:26:01 -07:00
parent 4c993c1b1a
commit b0a75a5bba

View File

@@ -92,6 +92,10 @@ def run():
c.find('SetMask.mask').transfer = True
# TODO: This is different than the docs, but only on MSW... Remove this
# if/when that gets fixed.
c.find('UseAlpha').type = 'void'
c.addCppMethod('void', 'SetMaskColour', '(const wxColour& colour)',
doc="Create a mask for this bitmap based on the pixels with the given colour.",
body="""\