X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/include/wx/imagpcx.h diff --git a/include/wx/imagpcx.h b/include/wx/imagpcx.h index 76807996b2..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(NO_GCC_PRAGMA) -#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