summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Barnes <krbarnes>2008-07-31 18:57:43 +0000
committerKevin Barnes <krbarnes>2008-07-31 18:57:43 +0000
commit1b861732db8f0f26417698173022c8708d2207c3 (patch)
tree6bd87cbe08a5c32c4608139a14127cfc05f48a0d
parentebb464b79e37bf70ef4074a7175a560768482510 (diff)
downloadeclipse.platform.swt-1b861732db8f0f26417698173022c8708d2207c3.tar.gz
eclipse.platform.swt-1b861732db8f0f26417698173022c8708d2207c3.tar.xz
eclipse.platform.swt-1b861732db8f0f26417698173022c8708d2207c3.zip
210441 - setBackground/setBackgroundImage not implemented.
-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();