X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c383901330c5c6d53a277c0549ae0eac6f0ecff..8715875f72af75123d13bb69d6ec6b185f568ea9:/wxPython/src/_bitmap.i?ds=inline diff --git a/wxPython/src/_bitmap.i b/wxPython/src/_bitmap.i index 96a6329a78..bd0600d824 100644 --- a/wxPython/src/_bitmap.i +++ b/wxPython/src/_bitmap.i @@ -201,6 +201,7 @@ bitmap. This preserves mask information so that bitmaps and images can be converted back and forth without loss in that respect.", ""); + DocDeclStr( virtual wxMask* , GetMask() const, "Gets the associated mask (if any) which may have been loaded from a @@ -211,13 +212,14 @@ file or explpicitly set for the bitmap. // MSW only? wxBitmap GetMaskBitmap() const; + %disownarg(wxMask*); DocDeclStr( virtual void , SetMask(wxMask* mask), "Sets the mask for this bitmap. :see: `GetMask`, `wx.Mask` ", ""); - + %cleardisown(wxMask*); %extend { DocStr(SetMaskColour, @@ -338,7 +340,7 @@ passed then BLACK is used. } } - //~wxMask(); + ~wxMask(); }; %pythoncode { MaskColour = wx._deprecated(Mask, "wx.MaskColour is deprecated, use `wx.Mask` instead.") }