X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89416032c25a55b559fd905f1c5393972142e919..e1efca652844273c3e8d32c7e5f442b87e455ca7:/tests/controls/treectrltest.cpp diff --git a/tests/controls/treectrltest.cpp b/tests/controls/treectrltest.cpp index 0335aa80eb..dbbb51fb97 100644 --- a/tests/controls/treectrltest.cpp +++ b/tests/controls/treectrltest.cpp @@ -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();