]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/font/fonttest.cpp
Remove Inno Setup file dependency on c:\daily path.
[wxWidgets.git] / tests / font / fonttest.cpp
index de529f62b2f44de11d3fdf49d4750b19fa9fbaf4..165abf20840ff6967c5f409ef4bb34638b53f97e 100644 (file)
@@ -103,9 +103,6 @@ void FontTestCase::Construct()
     // compile because it's easy to introduce ambiguities due to the number of
     // overloaded wxFont ctors.
 
-    CPPUNIT_ASSERT( wxFont(10, wxFONTFAMILY_DEFAULT).IsOk() );
-    CPPUNIT_ASSERT( wxFont(10, wxFONTFAMILY_DEFAULT,
-                               wxFONTFLAG_DEFAULT).IsOk() );
     CPPUNIT_ASSERT( wxFont(10, wxFONTFAMILY_DEFAULT,
                                wxFONTSTYLE_NORMAL,
                                wxFONTWEIGHT_NORMAL).IsOk() );
@@ -208,9 +205,12 @@ void FontTestCase::GetSet()
 
         // test Get/SetStrikethrough()
 
+        // Strike through support not implemented in wxOSX currently.
+#ifndef __WXOSX__
         test.SetStrikethrough(true);
         CPPUNIT_ASSERT( test.IsOk() );
         CPPUNIT_ASSERT_EQUAL( true, test.GetStrikethrough() );
+#endif // !__WXOSX__
 
 
         // test Get/SetWeight()