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
LifeReader::LifeReader(wxInputStream& is)
{
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
wxString line, rest;
// check stream