* wxMemory*Stream link problem fix.

* wxData*Stream update.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1998-07-14 16:35:50 +00:00
parent 79c3e0e1ae
commit 0cd9bfe8da
3 changed files with 14 additions and 42 deletions

View File

@@ -75,6 +75,10 @@ wxMemoryInputStream::wxMemoryInputStream(const char *data, size_t len)
m_iolimit = 1;
}
wxMemoryInputStream::~wxMemoryInputStream()
{
}
wxInputStream& wxMemoryInputStream::Read(void *buffer, size_t size)
{
if (m_iolimit == 2) {
@@ -133,6 +137,10 @@ wxMemoryOutputStream::wxMemoryOutputStream(char *data, size_t len)
m_iolimit = 2;
}
wxMemoryOutputStream::~wxMemoryOutputStream()
{
}
wxOutputStream& wxMemoryOutputStream::Write(const void *buffer, size_t size)
{
if (m_iolimit == 1) {