From: Stefan Csomor Date: Thu, 6 Mar 2003 16:35:10 +0000 (+0000) Subject: we now must skip right click events in order to allow for context events to be generated X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/63d1f74fe900809cd10f6021103875c23a1e8f87?ds=inline we now must skip right click events in order to allow for context events to be generated git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/control.cpp b/src/mac/carbon/control.cpp index 2dd89c2b55..e12f3f63da 100644 --- a/src/mac/carbon/control.cpp +++ b/src/mac/carbon/control.cpp @@ -891,6 +891,10 @@ void wxControl::OnMouseEvent( wxMouseEvent &event ) } } } + else + { + event.Skip() ; + } } bool wxControl::MacCanFocus() const diff --git a/src/mac/control.cpp b/src/mac/control.cpp index 2dd89c2b55..e12f3f63da 100644 --- a/src/mac/control.cpp +++ b/src/mac/control.cpp @@ -891,6 +891,10 @@ void wxControl::OnMouseEvent( wxMouseEvent &event ) } } } + else + { + event.Skip() ; + } } bool wxControl::MacCanFocus() const