summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Combo.java
diff options
context:
space:
mode:
authorSteve Northover <steve>2003-04-25 22:29:04 +0000
committerSteve Northover <steve>2003-04-25 22:29:04 +0000
commit13e42c55598cc244c3f75c845c9557bee124d6ed (patch)
tree1be52ebce188326be7751e60afcf7ee341055dc8 /bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Combo.java
parent5caada230d93f40d780eb3d8def0d9244f2580ff (diff)
downloadeclipse.platform.swt-13e42c55598cc244c3f75c845c9557bee124d6ed.tar.gz
eclipse.platform.swt-13e42c55598cc244c3f75c845c9557bee124d6ed.tar.xz
eclipse.platform.swt-13e42c55598cc244c3f75c845c9557bee124d6ed.zip
Display!
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Combo.java')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Combo.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Combo.java
index c38dc1f1d6..b68f3a7cf4 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Combo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Combo.java
@@ -203,7 +203,6 @@ public Point computeSize (int wHint, int hHint, boolean changed) {
void createHandle (int index) {
state |= HANDLE;
- Display display = getDisplay ();
int clazz = display.PtComboBox;
int parentHandle = parent.parentingHandle ();
int textFlags = (style & SWT.READ_ONLY) != 0 ? 0 : OS.Pt_EDITABLE;
@@ -477,7 +476,6 @@ public void cut () {
}
byte [] defaultFont () {
- Display display = getDisplay ();
return display.TEXT_FONT;
}
@@ -754,7 +752,7 @@ boolean hasFocus () {
void hookEvents () {
super.hookEvents ();
- int windowProc = getDisplay ().windowProc;
+ int windowProc = display.windowProc;
OS.PtAddCallback (handle, OS.Pt_CB_SELECTION, windowProc, OS.Pt_CB_SELECTION);
OS.PtAddCallback (handle, OS.Pt_CB_TEXT_CHANGED, windowProc, OS.Pt_CB_TEXT_CHANGED);
}