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 427843
Collapse All | Expand All

(-)a/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/FormHeading.java (-1 / +3 lines)
Lines 804-809 public class FormHeading extends Canvas { Link Here
804
		if (!isSeparatorVisible() && getBackgroundImage() == null)
804
		if (!isSeparatorVisible() && getBackgroundImage() == null)
805
			return;
805
			return;
806
		Rectangle carea = getClientArea();
806
		Rectangle carea = getClientArea();
807
		if (carea.width == 0 || carea.height == 0) {
808
			return;
809
		}
807
		Image buffer = new Image(getDisplay(), carea.width, carea.height);
810
		Image buffer = new Image(getDisplay(), carea.width, carea.height);
808
		buffer.setBackground(getBackground());
811
		buffer.setBackground(getBackground());
809
		GC igc = new GC(buffer);
812
		GC igc = new GC(buffer);
810
- 

Return to bug 427843