]> 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 6c88105420a8f070f192c6d7171bc0fdb2cfcc1a..5e615eb28397cc397acf6f9e47d239f1e99b2b2f 100644 (file)
@@ -159,7 +159,7 @@ void ListCtrlTestCase::ItemRect()
 
     // do test
     wxRect r;
-    //CPPUNIT_ASSERT( !m_list->GetItemRect(1, r) );   this asserts as item #1 does not exist
+    WX_ASSERT_FAILS_WITH_ASSERT( m_list->GetItemRect(1, r) );
     CPPUNIT_ASSERT( m_list->GetItemRect(0, r) );
     CPPUNIT_ASSERT_EQUAL( 150, r.GetWidth() );