]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpcx.cpp
no need to check for wxID_HELP buttons in SetLabel() now that it's overridden in...
[wxWidgets.git] / src / common / imagpcx.cpp
index 05f1d66a5e5c9fc9df5d475e8f35d63b3df316bb..71f3b1e7a5a42a43034218f36da0469511855d29 100644 (file)
@@ -487,7 +487,7 @@ bool wxPCXHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool verbos
 
 bool wxPCXHandler::DoCanRead( wxInputStream& stream )
 {
 
 bool wxPCXHandler::DoCanRead( wxInputStream& stream )
 {
-    unsigned char c = stream.GetC();
+    unsigned char c = stream.GetC();     // it's ok to modify the stream position here
     if ( !stream )
         return false;
 
     if ( !stream )
         return false;