]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/treectrltest.cpp
Update selection unit test to test GetSelectedHTML.
[wxWidgets.git] / tests / controls / treectrltest.cpp
index 0335aa80ebf8c34377baef4329cd2eac71e9f617..dbbb51fb97759c3499f2d6cb5c4e3430dd63c648 100644 (file)
@@ -114,7 +114,7 @@ private:
 // register in the unnamed registry so that these tests are run by default
 CPPUNIT_TEST_SUITE_REGISTRATION( TreeCtrlTestCase );
 
-// also include in it's own registry so that these tests can be run alone
+// also include in its own registry so that these tests can be run alone
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TreeCtrlTestCase, "TreeCtrlTestCase" );
 
 // ----------------------------------------------------------------------------
@@ -595,6 +595,7 @@ void TreeCtrlTestCase::KeyNavigation()
 
     m_tree->SelectItem(m_root);
 
+    m_tree->SetFocus();
     sim.Char(WXK_RIGHT);
     wxYield();