X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..4f73f25cc81a95cbfff4f1afa850aae5976a423c:/include/wx/imagpcx.h?ds=inline diff --git a/include/wx/imagpcx.h b/include/wx/imagpcx.h index 6c68cda46d..c3e1b3ed9b 100644 --- a/include/wx/imagpcx.h +++ b/include/wx/imagpcx.h @@ -4,16 +4,12 @@ // Author: Guillermo Rodriguez Garcia // RCS-ID: $Id$ // Copyright: (c) 1999 Guillermo Rodriguez Garcia -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #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