aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2013-03-21 14:27:02 (EDT)
committerCarolyn MacLeod2013-04-09 10:56:50 (EDT)
commitf4cbbc0312ee1f73186b218d1edf42c2f17e936b (patch)
treee1f3a6db32e57c8c7f7d2ae240a4307fa0670cc4
parent7cd97ac7c399c85950f54aa2dba2e90c19dfb4fc (diff)
downloadeclipse.platform.swt-f4cbbc0312ee1f73186b218d1edf42c2f17e936b.zip
eclipse.platform.swt-f4cbbc0312ee1f73186b218d1edf42c2f17e936b.tar.gz
eclipse.platform.swt-f4cbbc0312ee1f73186b218d1edf42c2f17e936b.tar.bz2
Bug 399562 - [GTK3] ProgressBar does not send any mouse events
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java
index f37da28..6adcf06 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java
@@ -94,6 +94,10 @@ void createHandle (int index) {
}
}
+long /*int*/ eventHandle () {
+ return OS.GTK3 ? fixedHandle : super.eventHandle ();
+}
+
/**
* Returns the maximum value which the receiver will allow.
*