X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c74b07ac26d4e7624ec7a7115bbade0cf3336c13..3508c1432884472f0d24f0f98c0dc75ed35df297:/include/wx/image.h 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)