]> git.saurik.com Git - wxWidgets.git/commitdiff
Explicitly forward non-command events along to the native control first.
authorKevin Ollivier <kevino@theolliviers.com>
Tue, 31 Oct 2006 23:38:15 +0000 (23:38 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Tue, 31 Oct 2006 23:38:15 +0000 (23:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/listctrl_mac.cpp

index 3e68168a22ae357067c6d4b65abd796824fbc0df..9b5bb81a400e93302f296d73bec4bc4fd7923351 100644 (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);
 }