From: Stefan Csomor Date: Tue, 11 Jun 2013 22:19:21 +0000 (+0000) Subject: fixing typo X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9150fa99d4f543e674429a50be8e0fc1780ce1d9?ds=inline fixing typo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/controls/treectrltest.cpp b/tests/controls/treectrltest.cpp index 218a9b7942..a5045f5928 100644 --- a/tests/controls/treectrltest.cpp +++ b/tests/controls/treectrltest.cpp @@ -359,7 +359,7 @@ void TreeCtrlTestCase::SelectionChange() 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);