after analisys the behaviour of treectrl in GTK and Qt, right arrow should not move down. Expand the current item will be fine

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-09-23 17:41:15 +00:00
parent f83756c2e5
commit 9d7a7ec556
2 changed files with 3 additions and 5 deletions

View File

@@ -587,7 +587,7 @@ void TreeCtrlTestCase::KeyNavigation()
CPPUNIT_ASSERT(m_tree->IsExpanded(m_root));
sim.Char(WXK_LEFT);
sim.Char('-');
wxYield();
CPPUNIT_ASSERT(!m_tree->IsExpanded(m_root));