summaryrefslogtreecommitdiffstats
path: root/bundles
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2005-05-02 18:39:10 +0000
committerSilenio Quarti <silenio>2005-05-02 18:39:10 +0000
commit9cbdd2487cdd3d2dc03d5da152b895b884f7a1c0 (patch)
treece7781b778a00d27e3d5e09241d9d16965f0a137 /bundles
parenta39bc2fd4dc9da293b28c7a0a531af6ec26c43e2 (diff)
downloadeclipse.platform.swt-9cbdd2487cdd3d2dc03d5da152b895b884f7a1c0.tar.gz
eclipse.platform.swt-9cbdd2487cdd3d2dc03d5da152b895b884f7a1c0.tar.xz
eclipse.platform.swt-9cbdd2487cdd3d2dc03d5da152b895b884f7a1c0.zip
call invalidate instead of reset
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java
index d3f9ecbb7f..5cba6cf212 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java
@@ -2115,7 +2115,7 @@ public void setHeaderVisible (boolean show) {
OS.GetDataBrowserListViewHeaderBtnHeight (handle, height);
if ((height [0] != 0) != show) {
OS.SetDataBrowserListViewHeaderBtnHeight (handle, (short) (show ? headerHeight : 0));
- resetVisibleRegion (handle);
+ invalidateVisibleRegion (handle);
}
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
index 2543881041..c474af36e5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
@@ -1714,7 +1714,7 @@ public void setHeaderVisible (boolean show) {
OS.GetDataBrowserListViewHeaderBtnHeight (handle, height);
if ((height [0] != 0) != show) {
OS.SetDataBrowserListViewHeaderBtnHeight (handle, (short) (show ? headerHeight : 0));
- //resetVisibleRegion (handle);
+ invalidateVisibleRegion (handle);
}
}