]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagpcx.h
check for self-assignment in operator=
[wxWidgets.git] / include / wx / imagpcx.h
index ff8813f87005395f4c601694245b71e1e3ce8bcd..c3e1b3ed9b6c61b22de21c0b2b930559c0e807f5 100644 (file)
 #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