X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1058f652031c9b99daa7c701f09f16c3af7159c1..427861bde09badef1a2950ad799e69fac6b4a48a:/interface/wx/image.h diff --git a/interface/wx/image.h b/interface/wx/image.h index 0477244094..77c7321e9d 100644 --- a/interface/wx/image.h +++ b/interface/wx/image.h @@ -1396,6 +1396,16 @@ public: */ void SetAlpha(int x, int y, unsigned char alpha); + /** + Removes the alpha channel from the image. + + This function should only be called if the image has alpha channel data, + use HasAlpha() to check for this. + + @since 2.9.1 + */ + void ClearAlpha(); + /** Sets the image data without performing checks.