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/ScrollBar.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/ScrollBar.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java index 34930fbeb6..560c841dfa 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java @@ -466,7 +466,7 @@ int /*long*/ gtk_value_changed (int /*long*/ adjustment) { } detail = OS.GTK_SCROLL_NONE; if (!dragSent) detail = OS.GTK_SCROLL_NONE; - postEvent (SWT.Selection, event); + sendSelectionEvent (SWT.Selection, event, false); parent.updateScrollBarValue (this); return 0; } @@ -482,9 +482,9 @@ int /*long*/ gtk_event_after (int /*long*/ widget, int /*long*/ gdkEvent) { if (!dragSent) { Event event = new Event (); event.detail = SWT.DRAG; - postEvent (SWT.Selection, event); + sendSelectionEvent (SWT.Selection, event, false); } - postEvent (SWT.Selection); + sendSelectionEvent (SWT.Selection); } detail = OS.GTK_SCROLL_NONE; dragSent = false; |