From 90347071972cdb55939ab416672bf74b3e6218a0 Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Tue, 31 Oct 2006 23:38:15 +0000 Subject: [PATCH] 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 --- src/mac/carbon/listctrl_mac.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mac/carbon/listctrl_mac.cpp b/src/mac/carbon/listctrl_mac.cpp index 3e68168a22..9b5bb81a40 100644 --- a/src/mac/carbon/listctrl_mac.cpp +++ b/src/mac/carbon/listctrl_mac.cpp @@ -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); } -- 2.47.2