off_t wxInputStream::SeekI(off_t pos, wxSeekMode mode)
{
+ //should be check and improve, just to remove a slight bug !
+ // I don't know whether it should be put as well in wxFileInputStream::OnSysSeek ?
+ if (m_lasterror==wxSTREAM_EOF) m_lasterror=wxSTREAM_NOERROR;
+
return OnSysSeek(pos, mode);
}
return m_lastcount;
}
-size_t wxCountingOutputStream::OnSysWrite(const void *buffer, size_t size)
+size_t wxCountingOutputStream::OnSysWrite(const void *WXUNUSED(buffer), size_t size)
{
m_currentPos += size;
if (m_currentPos > m_lastcount) m_lastcount = m_currentPos;