#if wxUSE_STREAMS
+#include "wx/txtstrm.h"
+
#ifndef WX_PRECOMP
#include "wx/crt.h"
#endif
-#include "wx/txtstrm.h"
#include <ctype.h>
-
-// ----------------------------------------------------------------------------
-// constants
-// ----------------------------------------------------------------------------
-
-// Unix: "\n"
-// Dos: "\r\n"
-// Mac: "\r"
-
// ----------------------------------------------------------------------------
// wxTextInputStream
// ----------------------------------------------------------------------------
if (c != wxT('\n') &&
c != wxT('\r') &&
- !m_separators.Contains(c))
+ m_separators.Find(c) < 0)
return c;
}
if(c == wxEOT)
break;
- if (m_separators.Contains(c))
+ if (m_separators.Find(c) >= 0)
break;
if (EatEOL(c))