diff options
author | Kevin Barnes <krbarnes> | 2007-12-11 15:45:41 +0000 |
---|---|---|
committer | Kevin Barnes <krbarnes> | 2007-12-11 15:45:41 +0000 |
commit | 40ba41b51e1be049d6244125313417a74c53165b (patch) | |
tree | 74e4cf5ca3f50f2ac6fda944a8c5142820e9c2d3 | |
parent | 4a04fb8e2197c7b16fa2b0b11f9a638a4b1ef4f7 (diff) | |
download | eclipse.platform.swt-40ba41b51e1be049d6244125313417a74c53165b.tar.gz eclipse.platform.swt-40ba41b51e1be049d6244125313417a74c53165b.tar.xz eclipse.platform.swt-40ba41b51e1be049d6244125313417a74c53165b.zip |
200101 - TableColumn sets image when SWT.CENTER alignment is used.
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableColumn.java | 2 |
1 files changed, 1 insertions, 1 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 2b04c97919..e9732daec8 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 @@ -546,7 +546,7 @@ public void setAlignment (int alignment) { style |= alignment & (SWT.LEFT | SWT.RIGHT | SWT.CENTER); int hwnd = parent.handle; LVCOLUMN lvColumn = new LVCOLUMN (); - lvColumn.mask = OS.LVCF_FMT | OS.LVCF_IMAGE; + lvColumn.mask = OS.LVCF_FMT; OS.SendMessage (hwnd, OS.LVM_GETCOLUMN, index, lvColumn); lvColumn.fmt &= ~OS.LVCFMT_JUSTIFYMASK; int fmt = 0; |