]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/image.h
Add event based Drop API
[wxWidgets.git] / include / wx / image.h
index 84dcd3934d0ce72654e6672223d5529343e576a9..76b9c81c6a478e156c606188d9268da3f87ab8d8 100644 (file)
@@ -240,6 +240,9 @@ public:
     bool Create( char** xpmData ) { return Create(const_cast<const char* const*>(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)
@@ -283,7 +286,7 @@ public:
     // Rotates the image about the given point, 'angle' radians.
     // Returns the rotated image, leaving this image intact.
     wxImage Rotate(double angle, const wxPoint & centre_of_rotation,
-                   bool interpolating = true, wxPoint * offset_after_rotation = (wxPoint*) NULL) const;
+                   bool interpolating = true, wxPoint * offset_after_rotation = NULL) const;
 
     wxImage Rotate90( bool clockwise = true ) const;
     wxImage Mirror( bool horizontally = true ) const;