summaryrefslogtreecommitdiffstats
path: root/bundles
diff options
context:
space:
mode:
authorCarolyn MacLeod <carolyn>2006-10-27 21:11:41 +0000
committerCarolyn MacLeod <carolyn>2006-10-27 21:11:41 +0000
commitc9f95f6f3eb8bc7902d2a56370eeabc9a80b47e3 (patch)
tree062d88cf4e072ffb72e6c9e258e1254a0b0e6daf /bundles
parentbaca6590ebfd3da239c2be18b6e588f7a8077574 (diff)
downloadeclipse.platform.swt-c9f95f6f3eb8bc7902d2a56370eeabc9a80b47e3.tar.gz
eclipse.platform.swt-c9f95f6f3eb8bc7902d2a56370eeabc9a80b47e3.tar.xz
eclipse.platform.swt-c9f95f6f3eb8bc7902d2a56370eeabc9a80b47e3.zip
DateTime on Motif
Diffstat (limited to 'bundles')
-rwxr-xr-xbundles/org.eclipse.swt/.classpath_motif1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/emulated/datetime/org/eclipse/swt/widgets/DateTime.java5
2 files changed, 1 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/.classpath_motif b/bundles/org.eclipse.swt/.classpath_motif
index 6f18f66de0..f11fe17ced 100755
--- a/bundles/org.eclipse.swt/.classpath_motif
+++ b/bundles/org.eclipse.swt/.classpath_motif
@@ -5,6 +5,7 @@
<classpathentry kind="src" path="Eclipse SWT/cairo"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/bidi"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/coolbar"/>
+ <classpathentry kind="src" path="Eclipse SWT/emulated/datetime"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/tabfolder"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/tray"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/treetable"/>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/emulated/datetime/org/eclipse/swt/widgets/DateTime.java b/bundles/org.eclipse.swt/Eclipse SWT/emulated/datetime/org/eclipse/swt/widgets/DateTime.java
index 79236648aa..8fb2f04c16 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/emulated/datetime/org/eclipse/swt/widgets/DateTime.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/emulated/datetime/org/eclipse/swt/widgets/DateTime.java
@@ -6,7 +6,6 @@ import java.util.Calendar; // TODO: Gregorian not in CLDC
import org.eclipse.swt.*;
import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.internal.win32.OS;
import org.eclipse.swt.events.*;
// TODO: note: locale is currently hard-coded to EN_US. This needs to be fixed. Use java.text.DateFormat?
@@ -220,10 +219,6 @@ public Point computeSize (int wHint, int hHint, boolean changed) {
return new Point (width + 2*borderWidth, height + 2*borderWidth);
}
-int defaultBackground () {
- return OS.GetSysColor (OS.COLOR_WINDOW);
-}
-
void drawDay(GC gc, Point cellSize, int day) {
int cell = getCell(day);
Point location = getCellLocation(cell, cellSize);