X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c74b07ac26d4e7624ec7a7115bbade0cf3336c13..dc813e6c7ef8a9a26c035b004b512e1aa1b0bf3f:/include/wx/image.h?ds=sidebyside diff --git a/include/wx/image.h b/include/wx/image.h index 84dcd3934d..fd76956841 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -240,6 +240,9 @@ public: bool Create( char** xpmData ) { return Create(const_cast(xpmData)); } #endif void Destroy(); + + // initialize the image data with zeroes + void Clear(unsigned char value = 0); // creates an identical copy of the image (the = operator // just raises the ref count)