*
*/
-#ifndef __PNGREAD__
-#define __PNGREAD__
+#ifndef _WX_PNGREAD__
+#define _WX_PNGREAD__
#ifdef __GNUG__
#pragma interface "pngread.h"
{
protected:
int filetype;
- char filename[255];
+ wxChar filename[255];
ImagePointerType RawImage; // Image data
int Width, Height; // Dimensions
friend class wxPNGReaderIter;
public:
wxPNGReader(void);
- wxPNGReader (char* ImageFileName); // Read an image file
+ wxPNGReader (wxChar* ImageFileName); // Read an image file
~wxPNGReader ();
void Create(int width, int height, int deep, int colortype=-1);
- bool ReadFile( char* ImageFileName=0 );
- bool SaveFile( char* ImageFileName=0 );
- bool SaveXPM(char *filename, char *name = 0);
+ bool ReadFile( wxChar* ImageFileName=0 );
+ bool SaveFile( wxChar* ImageFileName=0 );
+ bool SaveXPM(wxChar *filename, wxChar *name = 0);
int GetWidth( void ) const { return Width; };
int GetHeight( void ) const { return Height; };
int GetDepth( void ) const { return Depth; };