]> git.saurik.com Git - wxWidgets.git/commitdiff
fake paint events don't work with wxGTK3 either
authorPaul Cornett <paulcor@bullseye.com>
Wed, 11 Jul 2012 07:32:10 +0000 (07:32 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Wed, 11 Jul 2012 07:32:10 +0000 (07:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/events/propagation.cpp

index 3392c778a629a69b8ae27a23a2d7a3e2a3a2b5a5..a9bfcfba56da0be9c635fa89b6820e6f3c36f8b7 100644 (file)
@@ -313,7 +313,7 @@ void EventPropagationTestCase::ScrollWindowWithoutHandler()
 
     TestScrollWindow * const win = new TestScrollWindow(parent);
 
 
     TestScrollWindow * const win = new TestScrollWindow(parent);
 
-#ifndef __WXOSX__
+#if !defined(__WXOSX__) && !defined(__WXGTK3__)
     wxPaintEvent event(win->GetId());
     win->ProcessWindowEvent(event);
     CPPUNIT_ASSERT_EQUAL( "PD", g_str );
     wxPaintEvent event(win->GetId());
     win->ProcessWindowEvent(event);
     CPPUNIT_ASSERT_EQUAL( "PD", g_str );
@@ -331,7 +331,7 @@ void EventPropagationTestCase::ScrollWindowWithHandler()
 
     TestScrollWindow * const win = new TestScrollWindow(parent);
 
 
     TestScrollWindow * const win = new TestScrollWindow(parent);
 
-#ifndef __WXOSX__
+#if !defined(__WXOSX__) && !defined(__WXGTK3__)
     TestPaintEvtHandler h('h');
     win->PushEventHandler(&h);
     wxON_BLOCK_EXIT_OBJ1( *win, wxWindow::PopEventHandler, false );
     TestPaintEvtHandler h('h');
     win->PushEventHandler(&h);
     wxON_BLOCK_EXIT_OBJ1( *win, wxWindow::PopEventHandler, false );