From 63d1f74fe900809cd10f6021103875c23a1e8f87 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 6 Mar 2003 16:35:10 +0000 Subject: [PATCH] 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 --- src/mac/carbon/control.cpp | 4 ++++ src/mac/control.cpp | 4 ++++ 2 files changed, 8 insertions(+) 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 -- 2.47.2