Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2008-06-13 17:45:05 +0000
committerGrant Gayed2008-06-13 17:45:05 +0000
commitb62f9e98ef4cdd056bd9afb5a04df16c734bdb20 (patch)
tree29e3c0bce3ee3c16cc87cbbc2e6f61c366c90da0
parent5888b4cdccf062ed162c73841826b8aa27200465 (diff)
downloadeclipse.platform.swt-b62f9e98ef4cdd056bd9afb5a04df16c734bdb20.tar.gz
eclipse.platform.swt-b62f9e98ef4cdd056bd9afb5a04df16c734bdb20.tar.xz
eclipse.platform.swt-b62f9e98ef4cdd056bd9afb5a04df16c734bdb20.zip
send MenuDetect events
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java2
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
index 13cdd87d1d..91742fb508 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
@@ -3387,7 +3387,7 @@ int windowDelegateProc(int id, int sel, int arg0) {
} else if (sel == OS.sel_mouseExited_1) {
widget.mouseExited(id, sel, arg0);
} else if (sel == OS.sel_menuForEvent_1) {
- return widget.menuForEvent(id, sel, arg0);
+ return widget.menuForEvent(id);
} else if (sel == OS.sel_flagsChanged_1) {
widget.flagsChanged(arg0);
} else if (sel == OS.sel_numberOfRowsInTableView_1) {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
index 486262dd66..89c14d1a0e 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
@@ -662,7 +662,7 @@ void mouseExited(int id, int sel, int theEvent) {
callSuper(id, sel, theEvent);
}
-int menuForEvent (int id, int sel, int event) {
+int menuForEvent (int event) {
return 0;
}

Back to the top