]> git.saurik.com Git - wxWidgets.git/commitdiff
paint events cannot be constructed outside a native redraw in OSX
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 22 Jun 2010 12:46:20 +0000 (12:46 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 22 Jun 2010 12:46:20 +0000 (12:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/events/propagation.cpp

index 49d6fac0a208d35856316bd34b1562eca3dfddaa..af78f456e78a8f0b499a9350d664d05fc6ba2e86 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);