diff options
author | Steve Northover <steve> | 2005-08-22 17:23:23 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2005-08-22 17:23:23 +0000 |
commit | 284044de2948ceb46f55d2a55a064618477a8303 (patch) | |
tree | 3ddd2b3b80eb6e70930158ab2d96af6e356a8dfa /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets | |
parent | b1edcfb336d2a7e074e29a0b86d488c397ec0f02 (diff) | |
download | eclipse.platform.swt-284044de2948ceb46f55d2a55a064618477a8303.tar.gz eclipse.platform.swt-284044de2948ceb46f55d2a55a064618477a8303.tar.xz eclipse.platform.swt-284044de2948ceb46f55d2a55a064618477a8303.zip |
wrong image list used for image header
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableColumn.java | 2 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableColumn.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableColumn.java index 0f91307c66..ec62466860 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableColumn.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableColumn.java @@ -620,7 +620,7 @@ void setSortDirection (int direction) { hdItem.fmt &= ~(OS.HDF_SORTUP | OS.HDF_SORTDOWN); if (image != null) { hdItem.fmt |= OS.HDF_IMAGE; - hdItem.iImage = parent.imageIndex (image); + hdItem.iImage = parent.imageIndexHeader (image); } else { hdItem.fmt &= ~OS.HDF_IMAGE; } diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java index 6d113f3bd8..f2cf920fe5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java @@ -579,7 +579,7 @@ void setSortDirection (int direction) { hdItem.fmt &= ~(OS.HDF_SORTUP | OS.HDF_SORTDOWN); if (image != null) { hdItem.fmt |= OS.HDF_IMAGE; - hdItem.iImage = parent.imageIndex (image, index); + hdItem.iImage = parent.imageIndexHeader (image); } else { hdItem.fmt &= ~OS.HDF_IMAGE; } |