summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2006-04-07 21:04:39 +0000
committerFelipe Heidrich <fheidric>2006-04-07 21:04:39 +0000
commit1c0f8b0373f50c18674d6e6b47455869b506185e (patch)
tree1916a6a501a749227abd980983cb5fd3f36de72d /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt
parentc3b5c604bf6007c46ac40810f21488808dfbda77 (diff)
downloadeclipse.platform.swt-1c0f8b0373f50c18674d6e6b47455869b506185e.tar.gz
eclipse.platform.swt-1c0f8b0373f50c18674d6e6b47455869b506185e.tar.xz
eclipse.platform.swt-1c0f8b0373f50c18674d6e6b47455869b506185e.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java3
2 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java
index ef9994c5dc..1ea6e20980 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java
@@ -115,6 +115,7 @@ void createHandle (int index) {
} else {
handle = topHandle;
}
+ OS.GTK_WIDGET_SET_FLAGS (handle, OS.GTK_CAN_FOCUS);
}
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java
index 198689071f..a37c95318d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java
@@ -60,6 +60,7 @@ void createHandle (int index) {
OS.gtk_container_add (boxHandle, imageHandle);
OS.gtk_container_add (boxHandle, labelHandle);
OS.gtk_expander_set_label_widget (handle, boxHandle);
+ OS.GTK_WIDGET_SET_FLAGS (handle, OS.GTK_CAN_FOCUS);
}
}
@@ -195,7 +196,7 @@ int /*long*/ gtk_activate (int /*long*/ widget) {
return 0;
}
-int gtk_size_allocate (int widget, int allocation) {
+int /*long*/ gtk_size_allocate (int /*long*/ widget, int /*long*/ allocation) {
parent.layoutItems (0, false);
return 0;
}