]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/image.h
Fix scrolling to the bottom in wxTextCtrl::AppendText().
[wxWidgets.git] / interface / wx / image.h
index 04772440941a910b95fd996ccf9d00390fa10004..77c7321e9d9ff277b7c5b320070dd69b20e287f5 100644 (file)
@@ -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.