X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d4c6a214ac5b00dbf5e314e369471135db81c0d..9406d962ccf50d63f163896a2dd94123a2a8664a:/src/common/stream.cpp diff --git a/src/common/stream.cpp b/src/common/stream.cpp index fc7bcc8b9a..1e5af54b38 100644 --- a/src/common/stream.cpp +++ b/src/common/stream.cpp @@ -13,18 +13,15 @@ #pragma implementation "stream.h" #endif -#include -#include "stream.h" - -#if !USE_SHARED_LIBRARY -IMPLEMENT_ABSTRACT_CLASS(wxInputStream, wxObject) -IMPLEMENT_ABSTRACT_CLASS(wxOutputStream, wxObject) -IMPLEMENT_ABSTRACT_CLASS2(wxStream, wxInputStream, wxOutputStream) -IMPLEMENT_CLASS(wxFilterInputStream, wxInputStream) +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" +#include + +#ifdef __BORLANDC__ +#pragma hdrstop #endif wxInputStream::wxInputStream() - : wxObject() { } @@ -48,7 +45,6 @@ wxInputStream& wxInputStream::Read(wxOutputStream& stream_out) } wxOutputStream::wxOutputStream() - : wxObject() { } @@ -65,9 +61,19 @@ wxOutputStream& wxOutputStream::Write(wxInputStream& stream_in) wxFilterInputStream::wxFilterInputStream(wxInputStream& stream) : wxInputStream() { - m_parent_stream = &stream; + m_parent_i_stream = &stream; } wxFilterInputStream::~wxFilterInputStream() { } + +wxFilterOutputStream::wxFilterOutputStream(wxOutputStream& stream) + : wxOutputStream() +{ + m_parent_o_stream = &stream; +} + +wxFilterOutputStream::~wxFilterOutputStream() +{ +}