]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/zstream.cpp
Added wxDataViewSortedListModel, which doesn't work
[wxWidgets.git] / src / common / zstream.cpp
index 083ac372fbad895ecd1f120cb4e7a8b1607ed1a6..684ff82cfde0791bfe85c8f7a15bbb7b8ae86497 100644 (file)
@@ -136,6 +136,7 @@ size_t wxZlibInputStream::OnSysRead(void *buffer, size_t size)
         // any additional data can be read from the underlying stream (the crc
         // in a gzip for example)
         if (m_inflate->avail_in) {
+          m_parent_i_stream->Reset();
           m_parent_i_stream->Ungetch(m_inflate->next_in, m_inflate->avail_in);
           m_inflate->avail_in = 0;
         }