diff options
author | Silenio Quarti <silenio> | 2005-05-02 18:39:10 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2005-05-02 18:39:10 +0000 |
commit | 9cbdd2487cdd3d2dc03d5da152b895b884f7a1c0 (patch) | |
tree | ce7781b778a00d27e3d5e09241d9d16965f0a137 /bundles | |
parent | a39bc2fd4dc9da293b28c7a0a531af6ec26c43e2 (diff) | |
download | eclipse.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.java | 2 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java | 2 |
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); } } |