]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/treectrltest.cpp
Correct Mac OX/iPhone check in libpng.
[wxWidgets.git] / tests / controls / treectrltest.cpp
index 77b0b8b2e263d7066f8b398d7828a11f07edcdc1..5c59c627b95a26b0890757b7803acf2ee6c14511 100644 (file)
@@ -321,7 +321,7 @@ void TreeCtrlTestCase::KeyDown()
     sim.Text("aAbB");
     wxYield();
 
-    CPPUNIT_ASSERT_EQUAL(4, frame->GetEventCount());
+    CPPUNIT_ASSERT_EQUAL(6, frame->GetEventCount());
 }
 
 #if !defined(__WXGTK__)
@@ -595,6 +595,7 @@ void TreeCtrlTestCase::KeyNavigation()
 
     m_tree->SelectItem(m_root);
 
+    m_tree->SetFocus();
     sim.Char(WXK_RIGHT);
     wxYield();