X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7beb59f36c016d27cf8949eb8c0d38fc63ad536a..68b9924c4e76c42929098568482e1718a0fa1d2f:/include/wx/imagpcx.h?ds=sidebyside diff --git a/include/wx/imagpcx.h b/include/wx/imagpcx.h index ff8813f870..cc9d54fa8a 100644 --- a/include/wx/imagpcx.h +++ b/include/wx/imagpcx.h @@ -1,8 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: imagpcx.h +// Name: wx/imagpcx.h // Purpose: wxImage PCX handler // Author: Guillermo Rodriguez Garcia -// RCS-ID: $Id$ // Copyright: (c) 1999 Guillermo Rodriguez Garcia // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -10,10 +9,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 +17,7 @@ //----------------------------------------------------------------------------- #if wxUSE_PCX -class WXDLLEXPORT wxPCXHandler : public wxImageHandler +class WXDLLIMPEXP_CORE wxPCXHandler : public wxImageHandler { public: inline wxPCXHandler() @@ -36,6 +31,7 @@ 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 ); +protected: virtual bool DoCanRead( wxInputStream& stream ); #endif // wxUSE_STREAMS