CPPUNIT_ASSERT_EQUAL( "second in second", li.GetText() );
}
+#endif // wxHAS_LISTCTRL_COLUMN_ORDER
+
void ListCtrlTestCase::ItemRect()
{
// set up for the test
// do test
wxRect r;
- CPPUNIT_ASSERT( !m_list->GetItemRect(1, r) );
+ WX_ASSERT_FAILS_WITH_ASSERT( m_list->GetItemRect(1, r) );
CPPUNIT_ASSERT( m_list->GetItemRect(0, r) );
CPPUNIT_ASSERT_EQUAL( 150, r.GetWidth() );
WX_ASSERT_FAILS_WITH_ASSERT( m_list->GetSubItemRect(0, 3, r) );
}
-#endif // wxHAS_LISTCTRL_COLUMN_ORDER