X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/79c29706e3d1e27ded6db6f821dd3c1c2f3f4a9a..HEAD:/tests/controls/slidertest.cpp?ds=sidebyside diff --git a/tests/controls/slidertest.cpp b/tests/controls/slidertest.cpp index 2c4d35ae19..771cd16a08 100644 --- a/tests/controls/slidertest.cpp +++ b/tests/controls/slidertest.cpp @@ -3,7 +3,6 @@ // Purpose: wxSlider unit test // Author: Steven Lamerton // Created: 2010-07-20 -// RCS-ID: $Id$ // Copyright: (c) 2010 Steven Lamerton /////////////////////////////////////////////////////////////////////////////// @@ -197,10 +196,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);