Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2016-03-14 11:17:01 +0000
committerSravan Kumar Lakkimsetti2016-03-14 11:17:01 +0000
commit6a275c39a7dedfbe612027658b3c2069085b847a (patch)
treeee35d50b79dce5436ade3f3b4b0578a5d7fe042d
parent1bb658fa9488a6091b2b6abc1b6713caba7aa12d (diff)
downloadeclipse.platform.swt-6a275c39a7dedfbe612027658b3c2069085b847a.tar.gz
eclipse.platform.swt-6a275c39a7dedfbe612027658b3c2069085b847a.tar.xz
eclipse.platform.swt-6a275c39a7dedfbe612027658b3c2069085b847a.zip
bug 399786 - Fixed the combo setselection issues
Change-Id: I6fa9403bbbb451d96efc84ced03050c90574fdeb Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
index 26cd62ff3c..279390ff14 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
@@ -2154,12 +2154,6 @@ public void setOrientation (int orientation) {
*/
public void setSelection (Point selection) {
checkWidget();
- selection = DPIUtil.autoScaleUp(selection);
- setSelectionInPixels(selection);
-}
-
-void setSelectionInPixels (Point selection) {
- checkWidget();
if (selection == null) error (SWT.ERROR_NULL_ARGUMENT);
if ((style & SWT.READ_ONLY) != 0) return;
if (entryHandle != 0) {

Back to the top