]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagpng.h
fix comparison of BYTE variable with -1 after last commit
[wxWidgets.git] / include / wx / imagpng.h
index 091a9de46f53c1b54310f93917fc7b420e55a0c4..8edf80b879cb132f8150681f0d57d4d5d9605b19 100644 (file)
@@ -44,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