X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3778b4d9c7eebc39f496a9dd055638e06fb9140..0d1903dbda864780eec30efdc4e91776bdbfd21b:/tests/streams/textstreamtest.cpp diff --git a/tests/streams/textstreamtest.cpp b/tests/streams/textstreamtest.cpp index a05686ed0c..ed73497002 100644 --- a/tests/streams/textstreamtest.cpp +++ b/tests/streams/textstreamtest.cpp @@ -3,7 +3,6 @@ // Purpose: wxTextXXXStream unit test // Author: Ryan Norton, Vince Harron // Created: 2004-08-14 -// RCS-ID: $Id$ // Copyright: (c) 2004 Ryan Norton, (c) 2006 Vince Harron /////////////////////////////////////////////////////////////////////////////// @@ -93,7 +92,7 @@ TextStreamTestCase::TextStreamTestCase() { } -#if defined(__WXMSW__) || defined(__WXPM__) +#if defined(__WINDOWS__) || defined(__WXPM__) # define NEWLINE "\r\n" # define NEWLINELEN 2 #elif defined(__WXMAC__) && !defined(__DARWIN__) @@ -129,7 +128,7 @@ void TextStreamTestCase::MiscTests() { wxString filename = wxT("testdata.fc"); wxFileInputStream fsIn(filename); - if ( !fsIn.Ok() ) + if ( !fsIn.IsOk() ) { return; }