]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wfstream.cpp
moved wxDash typedef to gdicmn.h
[wxWidgets.git] / src / common / wfstream.cpp
index b43ddb3fba3cddc29897d8278995081f8774fb98..3e1970a3ff37d5e567a95efae6f3ff806cef7e85 100644 (file)
@@ -73,6 +73,7 @@ size_t wxFileInputStream::OnSysRead(void *buffer, size_t size)
 
   ret = m_file->Read(buffer, size);
 
+  m_lasterror = wxStream_NOERROR;
   if (m_file->Eof())
     m_lasterror = wxStream_EOF;
   if (ret == wxInvalidOffset) {