]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/listboxtest.cpp
Add wxMarkupParser::Strip().
[wxWidgets.git] / tests / controls / listboxtest.cpp
index 2a3121f0b44e10d65951fa9096bafcc51e04fd22..98f33b9d3b8793e746031da7bcec08a6b2f78e3b 100644 (file)
@@ -170,6 +170,12 @@ void ListBoxTestCase::MultipleSelect()
     CPPUNIT_ASSERT(!m_list->IsSelected(1));
     CPPUNIT_ASSERT(m_list->IsSelected(2));
     CPPUNIT_ASSERT(!m_list->IsSelected(3));
+
+    m_list->SetSelection(0);
+    m_list->SetSelection(wxNOT_FOUND);
+
+    m_list->GetSelections(selected);
+    CPPUNIT_ASSERT_EQUAL(0, selected.Count());
 }
 
 void ListBoxTestCase::ClickEvents()