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
line = text_is.ReadLine();
while (buff_is.IsOk() && line.StartsWith(wxT("#D"), &rest))
{
- m_description += rest.Trim(FALSE);
+ m_description += rest.Trim(false);
m_description += wxT("\n");
line = text_is.ReadLine();
}