Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 145662
Collapse All | Expand All

(-)Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java (-1 / +1 lines)
Lines 450-456 Link Here
450
void createHandle () {
450
void createHandle () {
451
	super.createHandle ();
451
	super.createHandle ();
452
	if ((style & SWT.PUSH) == 0) state |= THEME_BACKGROUND;
452
	if ((style & SWT.PUSH) == 0) state |= THEME_BACKGROUND;
453
	if (OS.COMCTL32_MAJOR >= 6) {
453
	if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {
454
		if ((style & SWT.RADIO) != 0) state |= DRAW_BACKGROUND;
454
		if ((style & SWT.RADIO) != 0) state |= DRAW_BACKGROUND;
455
	}
455
	}
456
}
456
}
(-)Eclipse SWT/win32/org/eclipse/swt/widgets/Group.java (+1 lines)
Lines 400-405 Link Here
400
				redraw = findThemeControl () != null;
400
				redraw = findThemeControl () != null;
401
			}
401
			}
402
		}
402
		}
403
		if (!redraw) redraw = findBackgroundControl () != null;
403
	}
404
	}
404
	if (redraw) {
405
	if (redraw) {
405
		OS.InvalidateRect (handle, null, false);
406
		OS.InvalidateRect (handle, null, false);

Return to bug 145662