]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/image.h
Correct the fix that broke wxRegion::ConvertToBitmap().
[wxWidgets.git] / interface / wx / image.h
index 04772440941a910b95fd996ccf9d00390fa10004..c14f9f95954468719e2bc3382e21a7dd828f3ad8 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:     interface of wxImageHandler and wxImage
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 /**
@@ -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.