summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover <steve>2002-08-08 16:31:03 +0000
committerSteve Northover <steve>2002-08-08 16:31:03 +0000
commit2284707d45b6aea556d7d791fc8acd6e1f696852 (patch)
tree50b7d2a0a2abe91f4125ec1ee8a3c6fcd7f7d643
parentc8b2843b19e2f47129520b605930c420fa1fcc00 (diff)
downloadeclipse.platform.swt-2284707d45b6aea556d7d791fc8acd6e1f696852.tar.gz
eclipse.platform.swt-2284707d45b6aea556d7d791fc8acd6e1f696852.tar.xz
eclipse.platform.swt-2284707d45b6aea556d7d791fc8acd6e1f696852.zip
22055
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
index d58539f5f7..4abd147c58 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
@@ -810,6 +810,7 @@ public void setWrapIndices (int [] indices) {
error (SWT.ERROR_INVALID_RANGE);
}
}
+ setRedraw (false);
REBARBANDINFO rbBand = new REBARBANDINFO ();
rbBand.cbSize = REBARBANDINFO.sizeof;
rbBand.fMask = OS.RBBIM_STYLE;
@@ -836,6 +837,7 @@ public void setWrapIndices (int [] indices) {
*/
resizeToMaximumWidth (indices [i] - 1);
}
+ setRedraw (true);
}
int widgetStyle () {