reusing existing API

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2013-06-13 14:06:02 +00:00
parent e535481318
commit 18c8b0ee1d

View File

@@ -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);