ret = m_file->Read(buffer, size);
if (m_file->Eof())
- m_lasterror = wxStream_EOF;
+ m_lasterror = wxSTREAM_EOF;
if (ret == wxInvalidOffset)
{
- m_lasterror = wxStream_READ_ERR;
+ m_lasterror = wxSTREAM_READ_ERROR;
ret = 0;
}
{
size_t ret = m_file->Write(buffer, size);
if (m_file->Error())
- m_lasterror = wxStream_WRITE_ERR;
+ m_lasterror = wxSTREAM_WRITE_ERROR;
else
- m_lasterror = wxStream_NOERROR;
+ m_lasterror = wxSTREAM_NO_ERROR;
return ret;
}