]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/events/propagation.cpp
Added wxStopWatch::TimeInMicro() for better precision time measurement.
[wxWidgets.git] / tests / events / propagation.cpp
index af78f456e78a8f0b499a9350d664d05fc6ba2e86..3392c778a629a69b8ae27a23a2d7a3e2a3a2b5a5 100644 (file)
@@ -197,7 +197,7 @@ private:
 // register in the unnamed registry so that these tests are run by default
 CPPUNIT_TEST_SUITE_REGISTRATION( EventPropagationTestCase );
 
-// also include in it's own registry so that these tests can be run alone
+// also include in its own registry so that these tests can be run alone
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( EventPropagationTestCase, "EventPropagationTestCase" );
 
 void EventPropagationTestCase::setUp()
@@ -331,6 +331,7 @@ void EventPropagationTestCase::ScrollWindowWithHandler()
 
     TestScrollWindow * const win = new TestScrollWindow(parent);
 
+#ifndef __WXOSX__
     TestPaintEvtHandler h('h');
     win->PushEventHandler(&h);
     wxON_BLOCK_EXIT_OBJ1( *win, wxWindow::PopEventHandler, false );
@@ -338,6 +339,7 @@ void EventPropagationTestCase::ScrollWindowWithHandler()
     wxPaintEvent event(win->GetId());
     win->ProcessWindowEvent(event);
     CPPUNIT_ASSERT_EQUAL( "ohPD", g_str );
+#endif
 
     g_str.clear();
     wxCommandEvent eventCmd(TEST_EVT);