]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/streams/textstreamtest.cpp
Don't ignore child process output if it exits with -1 exit code.
[wxWidgets.git] / tests / streams / textstreamtest.cpp
index a05686ed0c2977a13107f9534dea3014c9a71de7..aa089980fd29441dd9642b4e424af4aedaaf7096 100644 (file)
@@ -93,7 +93,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 +129,7 @@ void TextStreamTestCase::MiscTests()
 {
     wxString filename = wxT("testdata.fc");
     wxFileInputStream fsIn(filename);
-    if ( !fsIn.Ok() )
+    if ( !fsIn.IsOk() )
     {
         return;
     }