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:
parent
b668a73527
commit
d493b66a90
1 changed files with 2 additions and 2 deletions
|
|
@ -45,8 +45,8 @@
|
|||
|
||||
LifeReader::LifeReader(wxInputStream& is)
|
||||
{
|
||||
wxBufferedInputStream buff_is = wxBufferedInputStream(is);
|
||||
wxTextInputStream text_is = wxTextInputStream(buff_is);
|
||||
wxBufferedInputStream buff_is(is);
|
||||
wxTextInputStream text_is(buff_is);
|
||||
wxString line, rest;
|
||||
|
||||
// check stream
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue