]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/listctrltest.cpp
return URLs, not filenames, from wxFileSystem::FindFirst/FindNext() for the file...
[wxWidgets.git] / tests / controls / listctrltest.cpp
index c1920461c9b11aac07f3cd226f3789c37d623b7a..5e615eb28397cc397acf6f9e47d239f1e99b2b2f 100644 (file)
@@ -159,7 +159,7 @@ void ListCtrlTestCase::ItemRect()
 
     // 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() );