]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/filename/filenametest.cpp
Move code that does not need realized GdkWinow out of realize handler
[wxWidgets.git] / tests / filename / filenametest.cpp
index 3117760f1382de90a3f6bf6a2bad61f847a47be5..f54e8e8376427298284fb80d277506465963d332 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     wxFileName unit test
 // Author:      Vadim Zeitlin
 // Created:     2004-07-25
-// RCS-ID:      $Id$
 // Copyright:   (c) 2004 Vadim Zeitlin
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -685,7 +684,11 @@ void FileNameTestCase::TestSetTimes()
     CPPUNIT_ASSERT( fn.GetTimes(&dtAccess2, &dtModify2, &dtCreate2) );
     CPPUNIT_ASSERT_EQUAL( dtAccess, dtAccess2 );
     CPPUNIT_ASSERT_EQUAL( dtModify, dtModify2 );
+
+    // Under Unix the creation time can't be set.
+#ifdef __WINDOWS__
     CPPUNIT_ASSERT_EQUAL( dtCreate, dtCreate2 );
+#endif // __WINDOWS__
 }
 
 void FileNameTestCase::TestExists()