]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/slidertest.cpp
Not not pass debug messages on from wxLogWindow.
[wxWidgets.git] / tests / controls / slidertest.cpp
index 87c69a637fb1eeeb90524d2ad88877d9e0fe9e66..dd149ff4bfbd247988d3430e52635c683cf8a6ca 100644 (file)
@@ -33,9 +33,11 @@ public:
 
 private:
     CPPUNIT_TEST_SUITE( SliderTestCase );
+#ifndef __WXOSX__
         WXUISIM_TEST( PageUpDown );
         WXUISIM_TEST( LineUpDown );
         WXUISIM_TEST( LinePageSize );
+#endif
         CPPUNIT_TEST( Value );
         CPPUNIT_TEST( Range );
         WXUISIM_TEST( Thumb );
@@ -195,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);