From 18c8b0ee1dd941b1174f3c6324cbcfabb4a08ba9 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 13 Jun 2013 14:06:02 +0000 Subject: [PATCH] reusing existing API git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/controls/slidertest.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/controls/slidertest.cpp b/tests/controls/slidertest.cpp index 2c4d35ae19..dd149ff4bf 100644 --- a/tests/controls/slidertest.cpp +++ b/tests/controls/slidertest.cpp @@ -197,10 +197,7 @@ void SliderTestCase::Thumb() m_slider->SetValue(0); - sim.MouseMove(m_slider->ClientToScreen(wxPoint(10, 10))); - wxYield(); - - sim.MouseClickAndDragTo(m_slider->ClientToScreen(wxPoint(50, 10))); + sim.MouseDragDrop(m_slider->ClientToScreen(wxPoint(10, 10)),m_slider->ClientToScreen(wxPoint(50, 10))); wxYield(); CPPUNIT_ASSERT(track.GetCount() != 0); -- 2.45.2