if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {
if (isAppThemed ()) {
public Point computeSize (int wHint, int hHint, boolean changed) {	checkWidget ();	int height = 0, width = 0;	if (wHint == SWT.DEFAULT || hHint == SWT.DEFAULT) {		if (itemCount > 0) {			int hDC = OS.GetDC (handle);			int hTheme = 0;			if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {				hTheme = OS.OpenThemeData (handle, EXPLORERBAR);			}			height += spacing;			for (int i = 0; i < itemCount; i++) {				ExpandItem item = items [i];				height += item.getHeaderHeight ();				if (item.expanded) height += item.height;				height += spacing;				width = Math.max (width, item.getPreferredWidth (hTheme, hDC));			}			OS.ReleaseDC (handle, hDC);			if (hTheme != 0) OS.CloseThemeData (hTheme);		}	}	if (width == 0) width = DEFAULT_WIDTH;	if (height == 0) height = DEFAULT_HEIGHT;	if (wHint != SWT.DEFAULT) width = wHint;	if (hHint != SWT.DEFAULT) height = hHint;	Rectangle trim = computeTrim (0, 0, width, height);	return new Point (trim.width, trim.height);	}