summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2002-12-05 23:37:34 +0000
committerSilenio Quarti <silenio>2002-12-05 23:37:34 +0000
commit32cabc50a35527a331c816b6becbb56cd00fa04d (patch)
treec772fdfee9e3eaf647f9520693466e251cb998fa
parentd7016b3e4f15eb4576cf5f90b452222bc89b54d9 (diff)
downloadeclipse.platform.swt-32cabc50a35527a331c816b6becbb56cd00fa04d.tar.gz
eclipse.platform.swt-32cabc50a35527a331c816b6becbb56cd00fa04d.tar.xz
eclipse.platform.swt-32cabc50a35527a331c816b6becbb56cd00fa04d.zip
*** empty log message ***
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java
index 1fba6b2fbc..46fd2728cd 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java
@@ -481,7 +481,7 @@ void setSize (int width, int height, boolean layout) {
Rect rect = new Rect();
OS.GetControlBounds (handle, rect);
if ((rect.right - rect.left) != width || (rect.bottom - rect.top) != height) {
- OS.SizeControl (handle, (short) width, (short) height);
+ setBounds (handle, 0, 0, width, height, false, true);
if (layout) parent.relayout ();
}
}