summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Label.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Label.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Label.java
index f35d5f64b0..cb675688cf 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Label.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Label.java
@@ -83,6 +83,12 @@ void createHandle () {
handle = outControl [0];
}
+void drawBackground (int control) {
+ if ((style & SWT.SEPARATOR) != 0) {
+ drawBackground (control, background);
+ }
+}
+
void drawWidget (int control, int damageRgn, int visibleRgn, int theEvent) {
if (isImage && image != null) {
GCData data = new GCData ();