From f83756c2e588ea74966677c905b468160d89814a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 23 Sep 2014 17:41:12 +0000 Subject: [PATCH] after reset the m_current(focused item) in ClearFocusedItem(), the test could pass under wxUniv. Due to wxGTK and wxOSX use it in same way. So remove the check in test git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/controls/treectrltest.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/controls/treectrltest.cpp b/tests/controls/treectrltest.cpp index 77dc393e42..6752af7d2f 100644 --- a/tests/controls/treectrltest.cpp +++ b/tests/controls/treectrltest.cpp @@ -513,7 +513,6 @@ void TreeCtrlTestCase::AssignImageList() void TreeCtrlTestCase::Focus() { -#if !defined(__WXGTK__) && !defined(__WXOSX__) m_tree->SetFocusedItem(m_child1); CPPUNIT_ASSERT_EQUAL(m_child1, m_tree->GetFocusedItem()); @@ -521,7 +520,6 @@ void TreeCtrlTestCase::Focus() m_tree->ClearFocusedItem(); CPPUNIT_ASSERT(!m_tree->GetFocusedItem()); -#endif } void TreeCtrlTestCase::Bold()