Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover2001-08-29 23:27:27 +0000
committerSteve Northover2001-08-29 23:27:27 +0000
commitaa487940283fee2f08be8b5e5235c19df80543c2 (patch)
tree86e030362663e01e9db74befc903ab8fe4661631
parent52e5325efca97934514919a8d723972c68df0667 (diff)
downloadeclipse.platform.swt-aa487940283fee2f08be8b5e5235c19df80543c2.tar.gz
eclipse.platform.swt-aa487940283fee2f08be8b5e5235c19df80543c2.tar.xz
eclipse.platform.swt-aa487940283fee2f08be8b5e5235c19df80543c2.zip
*** empty log message ***
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Combo.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Combo.java
index 13c8558f88..059ad68ce4 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Combo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Combo.java
@@ -1216,7 +1216,16 @@ void deregister () {
OS.XtGetValues (handle, argList, argList.length / 2);
WidgetTable.remove (argList[1]);
}
-
+void enableWidget (boolean enabled) {
+ super.enableWidget (enabled);
+ int [] argList = {
+ OS.XmNlist, 0,
+ OS.XmNtextField, 0,
+ };
+ OS.XtGetValues (handle, argList, argList.length / 2);
+ enableHandle (enabled, argList [1]);
+ enableHandle (enabled, argList [3]);
+}
/**
* Bug in Motif.
* Empty strings in the combo will cause GPFs if a) they

Back to the top