use wxEvent::ShouldPropagate() instead of its own propgation control mechanism in wxNavigationKeyEvent (patch 814644)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -293,6 +293,9 @@ void wxControlContainer::HandleOnNavigationKey( wxNavigationKeyEvent& event )
|
||||
// and instead give it to the first/last child depending from which
|
||||
// direction we're coming
|
||||
event.SetEventObject(m_winParent);
|
||||
// disable propagation for this call as otherwise the event might
|
||||
// bounce back to us.
|
||||
wxPropagationDisabler disableProp(event);
|
||||
if ( !child->GetEventHandler()->ProcessEvent(event) )
|
||||
{
|
||||
// set it first in case SetFocusFromKbd() results in focus
|
||||
|
Reference in New Issue
Block a user