]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/events/propagation.cpp
implement wxTreeCtrl::GetFocusedItem() for wxMSW too (see #10859)
[wxWidgets.git] / tests / events / propagation.cpp
index e0918af3aa19729e287e29f395a6c9520cf4ffa9..e240dd6e17736d9b2459fbc4de307320ac73d215 100644 (file)
@@ -184,7 +184,7 @@ void EventPropagationTestCase::WindowWithoutHandler()
 
     TestWindow * const child = new TestWindow(parent, 'c');
 
-    child->ProcessEvent(event);
+    child->GetEventHandler()->ProcessEvent(event);
     CPPUNIT_ASSERT_EQUAL( "acpA", g_str );
 }