]> git.saurik.com Git - wxWidgets.git/commitdiff
draghino explicitly
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 11 Jun 2013 22:27:48 +0000 (22:27 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 11 Jun 2013 22:27:48 +0000 (22:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/controls/slidertest.cpp

index ce18bab183e877a71478babf7fa4d9d37e6e7459..87c69a637fb1eeeb90524d2ad88877d9e0fe9e66 100644 (file)
@@ -198,13 +198,7 @@ void SliderTestCase::Thumb()
     sim.MouseMove(m_slider->ClientToScreen(wxPoint(10, 10)));
     wxYield();
 
-    sim.MouseDown();
-    wxYield();
-
-    sim.MouseMove(m_slider->ClientToScreen(wxPoint(50, 10)));
-    wxYield();
-
-    sim.MouseUp();
+    sim.MouseClickAndDragTo(m_slider->ClientToScreen(wxPoint(50, 10)));
     wxYield();
 
     CPPUNIT_ASSERT(track.GetCount() != 0);