X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..4314ec480ecfdd8c0d170e570978d6d2134fc8be:/include/wx/msw/pngread.h diff --git a/include/wx/msw/pngread.h b/include/wx/msw/pngread.h index ed6cc8fa78..c3326bc411 100644 --- a/include/wx/msw/pngread.h +++ b/include/wx/msw/pngread.h @@ -8,8 +8,8 @@ * */ -#ifndef __PNGREAD__ -#define __PNGREAD__ +#ifndef _WX_PNGREAD__ +#define _WX_PNGREAD__ #ifdef __GNUG__ #pragma interface "pngread.h" @@ -43,7 +43,7 @@ class wxPNGReader { protected: int filetype; - char filename[255]; + wxChar filename[255]; ImagePointerType RawImage; // Image data int Width, Height; // Dimensions @@ -61,14 +61,14 @@ protected: 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; };