]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpng.cpp
Test for result of searching for wxID_CANCEL button
[wxWidgets.git] / src / common / imagpng.cpp
index 892b129e4897ee50f5c63bea5641074c1e94422f..f0801e3dcb2bce3cb2794d8146df1ef40001a1f0 100644 (file)
@@ -75,7 +75,8 @@ enum Transparency
 // have transparent pixels, i.e. either Transparency_Alpha or Transparency_Mask
 static Transparency
 CheckTransparency(const unsigned char *ptr,
-                  png_uint_32 x, png_uint_32 y, png_uint_32 w, png_uint_32 h);
+                  png_uint_32 x, png_uint_32 y, png_uint_32 w, png_uint_32 h,
+                  size_t numColBytes);
 
 // init the alpha channel for the image and fill it with 1s up to (x, y)
 static unsigned char *InitAlpha(wxImage *image, png_uint_32 x, png_uint_32 y);