Explicitly forward non-command events along to the native control first.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2006-10-31 23:38:15 +00:00
parent 7cbe148e2f
commit 9034707197

View File

@@ -296,6 +296,11 @@ bool wxMacListCtrlEventDelegate::ProcessEvent( wxEvent& event )
event.SetEventObject( m_list );
event.SetId( m_id );
if ( !event.IsKindOf( CLASSINFO( wxCommandEvent ) ) )
{
if (m_list->GetEventHandler()->ProcessEvent( event ))
return true;
}
return wxEvtHandler::ProcessEvent(event);
}