diff options
author | Felipe Heidrich <fheidric> | 2009-10-23 19:16:19 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2009-10-23 19:16:19 +0000 |
commit | 548533ad759a88444affd19fae3ef362d7331f8b (patch) | |
tree | b428fee07235a260cb0f8f532a62914cf53addfd /bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java | |
parent | 5b29a12fc8f54a16ee9d51ff6a6787120cdba944 (diff) | |
download | eclipse.platform.swt-548533ad759a88444affd19fae3ef362d7331f8b.tar.gz eclipse.platform.swt-548533ad759a88444affd19fae3ef362d7331f8b.tar.xz eclipse.platform.swt-548533ad759a88444affd19fae3ef362d7331f8b.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/cocoa/org/eclipse/swt/widgets/Composite.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java index 3d32c59b00..cead56154e 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java @@ -819,7 +819,7 @@ void scrollWheel (int /*long*/ id, int /*long*/ sel, int /*long*/ theEvent) { bar.setSelection (selection); Event event = new Event (); event.detail = delta > 0 ? SWT.PAGE_UP : SWT.PAGE_DOWN; - bar.sendEvent (SWT.Selection, event); + bar.sendSelectionEvent (SWT.Selection, event, true); handled = true; } if (!doit) handled = true; @@ -838,7 +838,7 @@ void scrollWheel (int /*long*/ id, int /*long*/ sel, int /*long*/ theEvent) { bar.setSelection (selection); Event event = new Event (); event.detail = delta > 0 ? SWT.PAGE_UP : SWT.PAGE_DOWN; - bar.sendEvent (SWT.Selection, event); + bar.sendSelectionEvent (SWT.Selection, event, true); handled = true; } if (!doit) handled = true; |