fix up fonts and colors
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/DateTime.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/DateTime.java
index 6c23c65..28bf5d9 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/DateTime.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/DateTime.java
@@ -513,6 +513,25 @@
}
}
+public void setBackground(Color color) {
+ checkWidget();
+ super.setBackground(color);
+ if (text != null) text.setBackground(color);
+}
+
+public void setFont(Font font) {
+ checkWidget();
+ super.setFont(font);
+ if (text != null) text.setFont(font);
+ redraw();
+}
+
+public void setForeground(Color color) {
+ checkWidget();
+ super.setForeground(color);
+ if (text != null) text.setForeground(color);
+}
+
/*public*/ void setFormat(String string) {
checkWidget();
fieldCount = (style & SWT.DATE) != 0 ? 3 : 4;