]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagtga.cpp
implement button support for pre-XP systems (or with themes disabled); using only...
[wxWidgets.git] / src / common / imagtga.cpp
index 9fd65003a77f746bde9e7c32670edfb26c04537a..d98ff01800d68f6438c64b9d0df388f9e94c69c3 100644 (file)
@@ -741,7 +741,7 @@ bool wxTGAHandler::DoCanRead(wxInputStream& stream)
 {
     // read the fixed-size TGA headers
     unsigned char hdr[HDR_SIZE];
-    stream.Read(hdr, HDR_SIZE);
+    stream.Read(hdr, HDR_SIZE);     // it's ok to modify the stream position here
 
     // Check wether we can read the file or not.