// 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() );
// 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()