* 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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user