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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user