git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44484
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxInputStream& wxInputStream::Read(wxOutputStream& stream_out)
{
wxInputStream& wxInputStream::Read(wxOutputStream& stream_out)
{
char buf[BUF_TEMP_SIZE];
for ( ;; )
char buf[BUF_TEMP_SIZE];
for ( ;; )
if ( stream_out.Write(buf, bytes_read).LastWrite() != bytes_read )
break;
if ( stream_out.Write(buf, bytes_read).LastWrite() != bytes_read )
break;
+
+ lastcount += bytes_read;
+ m_lastcount = lastcount;
+