]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/streams/textstreamtest.cpp
wait for the frame window to be really done on OSX before starting
[wxWidgets.git] / tests / streams / textstreamtest.cpp
index a2b2ecc878dcf136c626d5baae46c663a681d389..aa089980fd29441dd9642b4e424af4aedaaf7096 100644 (file)
@@ -86,14 +86,14 @@ private:
 // register in the unnamed registry so that these tests are run by default
 CPPUNIT_TEST_SUITE_REGISTRATION( TextStreamTestCase );
 
-// also include in it's own registry so that these tests can be run alone
+// also include in its own registry so that these tests can be run alone
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TextStreamTestCase, "TextStreamTestCase" );
 
 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;
     }