: wxInputStream(NULL)
{
m_parent_i_stream = &stream;
+ wxDELETE(m_i_streambuf); // In case m_i_streambuf has been initialized.
+ m_i_destroybuf = FALSE;
m_i_streambuf = stream.InputStreamBuffer();
}
: wxOutputStream(NULL)
{
m_parent_o_stream = &stream;
+ wxDELETE(m_o_streambuf); // In case m_o_streambuf has been initialized.
+ m_o_destroybuf = FALSE;
m_o_streambuf = stream.OutputStreamBuffer();
}