mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
Fix for wxBitmap::UseAlpha on MSW
This commit is contained in:
@@ -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="""\
|
||||
|
||||
Reference in New Issue
Block a user