Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2005-01-25 19:58:19 +0000
committerGrant Gayed2005-01-25 19:58:19 +0000
commit8d32a5ebd215306a6a7c4c67fe4f5b1ef412f26c (patch)
tree49deb9b56740b09daec1a42aa33f4bc262b09a46
parent56616a91572155f935ae9722ec5d473002c6d782 (diff)
downloadeclipse.platform.swt-8d32a5ebd215306a6a7c4c67fe4f5b1ef412f26c.tar.gz
eclipse.platform.swt-8d32a5ebd215306a6a7c4c67fe4f5b1ef412f26c.tar.xz
eclipse.platform.swt-8d32a5ebd215306a6a7c4c67fe4f5b1ef412f26c.zip
80414
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java2
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/MenuItem.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
index 5c25c3e101..2a1d1e2ef9 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
@@ -418,7 +418,7 @@ int /*long*/ gtk_activate (int /*long*/ widget) {
int /*long*/ gtk_select (int /*long*/ item) {
parent.selectedItem = this;
- postEvent (SWT.Arm);
+ sendEvent (SWT.Arm);
return 0;
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/MenuItem.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/MenuItem.java
index 6efbb5ddae..16222621de 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/MenuItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/MenuItem.java
@@ -440,7 +440,7 @@ int Pt_CB_ACTIVATE (int widget, int info) {
}
int Pt_CB_ARM (int widget, int info) {
- postEvent (SWT.Arm);
+ sendEvent (SWT.Arm);
showMenu ();
return OS.Pt_CONTINUE;
}

Back to the top