]> git.saurik.com Git - wxWidgets.git/commitdiff
we now must skip right click events in order to allow for context events to be generated
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 6 Mar 2003 16:35:10 +0000 (16:35 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 6 Mar 2003 16:35:10 +0000 (16:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/control.cpp
src/mac/control.cpp

index 2dd89c2b5542e5c2726e4e73292e5b227f49fbdc..e12f3f63da10ce989c4c76d65e1840f158e0a0a0 100644 (file)
@@ -891,6 +891,10 @@ void  wxControl::OnMouseEvent( wxMouseEvent &event )
             }
         }
     }
+    else
+    {
+       event.Skip() ;
+    }
 }
 
 bool wxControl::MacCanFocus() const
index 2dd89c2b5542e5c2726e4e73292e5b227f49fbdc..e12f3f63da10ce989c4c76d65e1840f158e0a0a0 100644 (file)
@@ -891,6 +891,10 @@ void  wxControl::OnMouseEvent( wxMouseEvent &event )
             }
         }
     }
+    else
+    {
+       event.Skip() ;
+    }
 }
 
 bool wxControl::MacCanFocus() const