]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagbmp.cpp
Committing in .
[wxWidgets.git] / src / common / imagbmp.cpp
index 7b6f02cb3f7c28f589c9f70cc171070bda2860d9..52dade70e42264231a62c40ebddc439b5708b889 100644 (file)
@@ -401,10 +401,10 @@ bool wxBMPHandler::LoadFile( wxImage *image, wxInputStream& stream, bool WXUNUSE
      return TRUE;
 }
 
      return TRUE;
 }
 
-bool wxBMPHandler::CanRead( wxInputStream& stream )
+bool wxBMPHandler::DoCanRead( wxInputStream& stream )
 {
     unsigned char hdr[2];
 {
     unsigned char hdr[2];
-    
+
     stream.Read(&hdr, 2);
     stream.SeekI(-2, wxFromCurrent);
     return (hdr[0] == 'B' && hdr[1] == 'M');
     stream.Read(&hdr, 2);
     stream.SeekI(-2, wxFromCurrent);
     return (hdr[0] == 'B' && hdr[1] == 'M');