X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..470402b9966ec0c9b0011193cb82bd6baa4a98c5:/include/wx/imagpng.h

diff --git a/include/wx/imagpng.h b/include/wx/imagpng.h
index 091a9de46f..8edf80b879 100644
--- a/include/wx/imagpng.h
+++ b/include/wx/imagpng.h
@@ -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