Index: Table.java =================================================================== RCS file: /home/eclipse/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java,v retrieving revision 1.201 diff -u -r1.201 Table.java --- Table.java 7 Apr 2005 22:00:12 -0000 1.201 +++ Table.java 8 Apr 2005 00:38:22 -0000 @@ -2205,7 +2205,12 @@ void setCheckboxImageList (int width, int height) { if ((style & SWT.CHECK) == 0) return; int count = 4; - int flags = ImageList.COLOR_FLAGS; + int flags; + if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed()) { + flags = ImageList.COLOR_FLAGS; + } else { + flags = OS.ILC_COLOR; + } if ((style & SWT.RIGHT_TO_LEFT) != 0) flags |= OS.ILC_MIRROR; int hImageList = OS.ImageList_Create (width, height, flags, count, count); int hDC = OS.GetDC (handle);