]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagpcx.h
Make SaveFile and LoadFile virtual so they can be overridden
[wxWidgets.git] / include / wx / imagpcx.h
index 40d3ca7c7e05a88b2ffa89a35ef42a2638c56ce8..0e8693dca09334adaa6af82997be45017ccff431 100644 (file)
 #ifndef _WX_IMAGPCX_H_
 #define _WX_IMAGPCX_H_
 
 #ifndef _WX_IMAGPCX_H_
 #define _WX_IMAGPCX_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "imagpcx.h"
-#endif
-
 #include "wx/image.h"
 
 
 #include "wx/image.h"
 
 
@@ -34,8 +30,9 @@ public:
     }
 
 #if wxUSE_STREAMS
     }
 
 #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
 
     virtual bool DoCanRead( wxInputStream& stream );
 #endif // wxUSE_STREAMS