// Purpose: wxSlider unit test
// Author: Steven Lamerton
// Created: 2010-07-20
-// RCS-ID: $Id$
// Copyright: (c) 2010 Steven Lamerton
///////////////////////////////////////////////////////////////////////////////
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);