mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Add docstring for SetMaskColour
This commit is contained in:
@@ -89,7 +89,9 @@ def run():
|
||||
|
||||
c.find('SetMask.mask').transfer = True
|
||||
|
||||
c.addCppMethod('void', 'SetMaskColour', '(const wxColour& colour)', """\
|
||||
c.addCppMethod('void', 'SetMaskColour', '(const wxColour& colour)',
|
||||
doc="Create a mask for this bitmap based on the pixels with the given colour.",
|
||||
body="""\
|
||||
wxMask* mask = new wxMask(*self, *colour);
|
||||
self->SetMask(mask);
|
||||
""")
|
||||
|
||||
Reference in New Issue
Block a user