X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7beb59f36c016d27cf8949eb8c0d38fc63ad536a..a4301b8f14d21b7d28fc4f6a247b740d945ca6dc:/include/wx/imagpcx.h diff --git a/include/wx/imagpcx.h b/include/wx/imagpcx.h index ff8813f870..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() @@ -36,6 +32,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