diff --git a/tests/font/fonttest.cpp b/tests/font/fonttest.cpp index bf19403207..165abf2084 100644 --- a/tests/font/fonttest.cpp +++ b/tests/font/fonttest.cpp @@ -205,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()