]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/pngread.h
Fixed some wxDragImage bugs
[wxWidgets.git] / include / wx / mac / pngread.h
index f6d1d707ec0f65a175a4c14325344f57cf328427..83ef95baf576c5a1d2ecf3b3ad3a1b006ca124fe 100644 (file)
@@ -40,15 +40,15 @@ class wxPNGReader
 protected:
   int filetype;
   char filename[255];
 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;
 
   GWorldPtr lpbi;
   int bgindex;
@@ -58,7 +58,7 @@ friend class wxPNGReaderIter;
 public:
   wxPNGReader(void);
   wxPNGReader (char* ImageFileName);     // Read an image file
 public:
   wxPNGReader(void);
   wxPNGReader (char* ImageFileName);     // Read an image file
-  ~wxPNGReader ();
+  virtual ~wxPNGReader ();
 
   void Create(int width, int height, int deep, int colortype=-1);
 
 
   void Create(int width, int height, int deep, int colortype=-1);