diff options
author | Silenio Quarti <silenio> | 2008-07-31 21:19:39 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2008-07-31 21:19:39 +0000 |
commit | c7eaabac3679c715f6158ed829e8faec90671e26 (patch) | |
tree | 81f36a0dade42da0f0ad7168e48bc7de8ef759ab /bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets | |
parent | 1b861732db8f0f26417698173022c8708d2207c3 (diff) | |
download | eclipse.platform.swt-c7eaabac3679c715f6158ed829e8faec90671e26.tar.gz eclipse.platform.swt-c7eaabac3679c715f6158ed829e8faec90671e26.tar.xz eclipse.platform.swt-c7eaabac3679c715f6158ed829e8faec90671e26.zip |
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Label.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Label.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Label.java index fb0c902489..7357a62667 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Label.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Label.java @@ -290,8 +290,7 @@ void setBackground (float [] color) { textView.setDrawsBackground(color != null); if (color == null) return; NSColor nsColor = NSColor.colorWithDeviceRed(color[0], color[1], color[2], 1); - NSTextFieldCell cell = new NSTextFieldCell(textView.cell()); - cell.setBackgroundColor(nsColor); + ((NSTextField)textView).setBackgroundColor(nsColor); } void _setAlignment() { |