Added GSocket for Unix (only GTK for the moment)
Updated wxSocket to use GSocket API Added a progress bar to client.cpp Added CopyTo to wxMemoryOutputStream to copy the internal buffer to a specified buffer. Various changes/fixes to the high-level protocols FTP/HTTP Various Unicode fixes Removed sckint.* git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -138,7 +138,10 @@ wxFileOutputStream::~wxFileOutputStream()
|
||||
size_t wxFileOutputStream::OnSysWrite(const void *buffer, size_t size)
|
||||
{
|
||||
size_t ret = m_file->Write(buffer, size);
|
||||
m_lasterror = wxStream_EOF; // TODO
|
||||
if (m_file->Error())
|
||||
m_lasterror = wxStream_WRITE_ERR;
|
||||
else
|
||||
m_lasterror = wxStream_NOERROR;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user