From 9b1aeb4c93925d49a6083378f9eb010200ab0989 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 15 Jul 2013 01:32:00 +0000 Subject: [PATCH] Disable wxFont::SetStrikethrough() test under wxOSX. Strike through support is not available in wxFont under this platform, as documented. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/font/fonttest.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/font/fonttest.cpp b/tests/font/fonttest.cpp index bf19403..165abf2 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() -- 2.7.4