diff options
author | Felipe Heidrich <fheidric> | 2009-10-23 19:37:07 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2009-10-23 19:37:07 +0000 |
commit | 3c583b230fbcccc2783c71ce9fd0e1a3f475cab4 (patch) | |
tree | 14e149451ef607818a2417e1f805388856704493 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java | |
parent | ad2f7a3dbde5efa498f9080cce5bfb2b90785d8d (diff) | |
download | eclipse.platform.swt-3c583b230fbcccc2783c71ce9fd0e1a3f475cab4.tar.gz eclipse.platform.swt-3c583b230fbcccc2783c71ce9fd0e1a3f475cab4.tar.xz eclipse.platform.swt-3c583b230fbcccc2783c71ce9fd0e1a3f475cab4.zip |
Bug 65679 - SelectionEvent.stateMask remains 0 even Ctrl (Shift, Alt) were pressed during push operation on button
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java index b1df97fd18..064475d5fc 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java @@ -715,7 +715,7 @@ public int getTopIndex () { } int /*long*/ gtk_changed (int /*long*/ widget) { - postEvent (SWT.Selection); + sendSelectionEvent (SWT.Selection); return 0; } @@ -790,7 +790,7 @@ int /*long*/ gtk_key_press_event (int /*long*/ widget, int /*long*/ event) { switch (key) { case OS.GDK_Return: case OS.GDK_KP_Enter: { - postEvent (SWT.DefaultSelection); + sendSelectionEvent (SWT.DefaultSelection); break; } } @@ -813,7 +813,7 @@ int /*long*/ gtk_popup_menu (int /*long*/ widget) { } int /*long*/ gtk_row_activated (int /*long*/ tree, int /*long*/ path, int /*long*/ column) { - postEvent (SWT.DefaultSelection); + sendSelectionEvent (SWT.DefaultSelection); return 0; } |