X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef6bd27b357788fa1ea5126824e72e1e277e8e4e..aa2d25a57aa4ae113e369ea8e08e5da4888e1b66:/include/wx/mac/pngread.h diff --git a/include/wx/mac/pngread.h b/include/wx/mac/pngread.h index f6d1d707ec..83ef95baf5 100644 --- a/include/wx/mac/pngread.h +++ b/include/wx/mac/pngread.h @@ -40,15 +40,15 @@ class wxPNGReader protected: int filetype; char filename[255]; - ImagePointerType RawImage; // Image data + ImagePointerType RawImage; // Image data - int Width, Height; // Dimensions - int Depth; // (bits x pixel) - int ColorType; // Bit 1 = Palette used - // Bit 2 = Color used - // Bit 3 = Alpha used + int Width, Height; // Dimensions + int Depth; // (bits x pixel) + int ColorType; // Bit 1 = Palette used + // Bit 2 = Color used + // Bit 3 = Alpha used - long EfeWidth; // Efective Width + long EfeWidth; // Efective Width GWorldPtr lpbi; int bgindex; @@ -58,7 +58,7 @@ friend class wxPNGReaderIter; public: wxPNGReader(void); wxPNGReader (char* ImageFileName); // Read an image file - ~wxPNGReader (); + virtual ~wxPNGReader (); void Create(int width, int height, int deep, int colortype=-1);