X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..8a4e043aef904eda398249dde995b6ddcc01a4ce:/include/wx/imagpcx.h diff --git a/include/wx/imagpcx.h b/include/wx/imagpcx.h index 40d3ca7c7e..ac1c8c9440 100644 --- a/include/wx/imagpcx.h +++ b/include/wx/imagpcx.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: imagpcx.h +// Name: wx/imagpcx.h // Purpose: wxImage PCX handler // Author: Guillermo Rodriguez Garcia // RCS-ID: $Id$ @@ -10,10 +10,6 @@ #ifndef _WX_IMAGPCX_H_ #define _WX_IMAGPCX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "imagpcx.h" -#endif - #include "wx/image.h" @@ -22,7 +18,7 @@ //----------------------------------------------------------------------------- #if wxUSE_PCX -class WXDLLEXPORT wxPCXHandler : public wxImageHandler +class WXDLLIMPEXP_CORE wxPCXHandler : public wxImageHandler { public: inline wxPCXHandler() @@ -34,8 +30,9 @@ public: } #if wxUSE_STREAMS - virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); - virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); + virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 ); + virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true ); +protected: virtual bool DoCanRead( wxInputStream& stream ); #endif // wxUSE_STREAMS