]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/treectrltest.cpp
Add a test for eol-native file existence in the release script.
[wxWidgets.git] / tests / controls / treectrltest.cpp
index 218a9b7942134aafe680495d4cab7475c59d3627..a5045f5928d5b1211fbb9179e6bb31e2d499fbfd 100644 (file)
@@ -359,7 +359,7 @@ void TreeCtrlTestCase::SelectionChange()
 
     wxRect poschild1, poschild2;
     m_tree->GetBoundingRect(m_child1, poschild1, true);
 
     wxRect poschild1, poschild2;
     m_tree->GetBoundingRect(m_child1, poschild1, true);
-    m_tree->GetBoundingRect(m_child1, poschild2, true);
+    m_tree->GetBoundingRect(m_child2, poschild2, true);
 
     // We move in slightly so we are not on the edge
     wxPoint point1 = m_tree->ClientToScreen(poschild1.GetPosition()) + wxPoint(4, 4);
 
     // We move in slightly so we are not on the edge
     wxPoint point1 = m_tree->ClientToScreen(poschild1.GetPosition()) + wxPoint(4, 4);