git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51094
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#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))