summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover <steve>2003-03-04 03:06:29 +0000
committerSteve Northover <steve>2003-03-04 03:06:29 +0000
commitb9ef36c1f1de26e704cc92de9d9ac57f817be379 (patch)
tree8e438442a5fc6450f6bf2e285daa17a7699b2743
parentea1e0c167adb20292dbf4b86b0068ee32e73b031 (diff)
downloadeclipse.platform.swt-b9ef36c1f1de26e704cc92de9d9ac57f817be379.tar.gz
eclipse.platform.swt-b9ef36c1f1de26e704cc92de9d9ac57f817be379.tar.xz
eclipse.platform.swt-b9ef36c1f1de26e704cc92de9d9ac57f817be379.zip
33580
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scrollable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scrollable.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scrollable.java
index ba0045f000..00aff6bc5e 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scrollable.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scrollable.java
@@ -292,7 +292,7 @@ LRESULT WM_MOUSEWHEEL (int wParam, int lParam) {
int position = horizontalBar.getSelection ();
if (position != hPosition) {
Event event = new Event ();
- event.detail = position < vPosition ? SWT.PAGE_UP : SWT.PAGE_DOWN;
+ event.detail = position < hPosition ? SWT.PAGE_UP : SWT.PAGE_DOWN;
horizontalBar.sendEvent (SWT.Selection, event);
}
}