Streams were being created the wrong way (was using the copy

ctor which should not be used for any stream class)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia
2001-05-10 06:24:10 +00:00
parent b668a73527
commit d493b66a90

View File

@@ -45,8 +45,8 @@
LifeReader::LifeReader(wxInputStream& is) LifeReader::LifeReader(wxInputStream& is)
{ {
wxBufferedInputStream buff_is = wxBufferedInputStream(is); wxBufferedInputStream buff_is(is);
wxTextInputStream text_is = wxTextInputStream(buff_is); wxTextInputStream text_is(buff_is);
wxString line, rest; wxString line, rest;
// check stream // check stream