summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
index c2aec91ba3..4c49f3a937 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
@@ -812,7 +812,7 @@ void fillBackground (NSView view, NSGraphicsContext context, NSRect rect) {
context.restoreGraphicsState();
return;
}
- Color background = control.background;
+ Color background = control.getBackgroundColor ();
if (background != null && !background.isDisposed ()) {
float [] color = background.handle;
context.saveGraphicsState();