]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/events/propagation.cpp
support wxFD_MULTIPLE
[wxWidgets.git] / tests / events / propagation.cpp
index 49d6fac0a208d35856316bd34b1562eca3dfddaa..bbc7428be649889d75c139972d332c152502f9d8 100644 (file)
@@ -313,10 +313,11 @@ void EventPropagationTestCase::ScrollWindowWithoutHandler()
 
     TestScrollWindow * const win = new TestScrollWindow(parent);
 
+#ifndef __WXOSX__
     wxPaintEvent event(win->GetId());
     win->ProcessWindowEvent(event);
     CPPUNIT_ASSERT_EQUAL( "PD", g_str );
-
+#endif
     g_str.clear();
     wxCommandEvent eventCmd(TEST_EVT);
     win->HandleWindowEvent(eventCmd);
@@ -330,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 );
@@ -337,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);