]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagpng.h
Reduced deprecation warning frequency
[wxWidgets.git] / include / wx / imagpng.h
index 73c465a90d6eb0a3096cbc66db2e592e636643f3..8edf80b879cb132f8150681f0d57d4d5d9605b19 100644 (file)
 #ifndef _WX_IMAGPNG_H_
 #define _WX_IMAGPNG_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "imagpng.h"
-#endif
-
 #include "wx/defs.h"
 
 //-----------------------------------------------------------------------------
@@ -48,6 +44,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