Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2013-03-21 18:27:02 +0000
committerSilenio Quarti2013-03-21 18:27:02 +0000
commit0f396c888ebd188aada91a82f94560be5304e87e (patch)
tree7a4f71d0ce18a3db78015e3d37e337fb9d921ef6
parent1b3622f049a05762a91da56f70f9dd5c616b7fe3 (diff)
downloadeclipse.platform.swt-0f396c888ebd188aada91a82f94560be5304e87e.tar.gz
eclipse.platform.swt-0f396c888ebd188aada91a82f94560be5304e87e.tar.xz
eclipse.platform.swt-0f396c888ebd188aada91a82f94560be5304e87e.zip
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 f37da28325..6adcf06648 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.
*

Back to the top