summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2003-02-20 22:23:54 +0000
committerSilenio Quarti <silenio>2003-02-20 22:23:54 +0000
commit72bad5cadd8731ac9df4653a24569680eaffe5b9 (patch)
treef52e4b84dbbbaaccc08ae5e5a858dcf8c5b86bd8
parent3ec53a36badea8b67ca02e730657468177200562 (diff)
downloadeclipse.platform.swt-2130b.tar.gz
eclipse.platform.swt-2130b.tar.xz
eclipse.platform.swt-2130b.zip
*** empty log message ***v2130b
-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 ();