]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagpnm.h
don't crash if (char*)c_str() is used twice in a row on the same string and both...
[wxWidgets.git] / include / wx / imagpnm.h
index 6f25e9d0272a52022064a1fca54c77e591bb21ed..b9e46eea3f794ced06d033b456d447544bc9af3b 100644 (file)
@@ -31,6 +31,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