diff options
author | Steve Northover <steve> | 2003-02-20 03:39:24 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2003-02-20 03:39:24 +0000 |
commit | 328063de9acd4d44570c48611259a36493fc51b6 (patch) | |
tree | c1a21a91ffc84e5abb9764b4d577b76d1e9bfba4 | |
parent | c7949e2791e591f299dc1357a7865883f30fe82e (diff) | |
download | eclipse.platform.swt-328063de9acd4d44570c48611259a36493fc51b6.tar.gz eclipse.platform.swt-328063de9acd4d44570c48611259a36493fc51b6.tar.xz eclipse.platform.swt-328063de9acd4d44570c48611259a36493fc51b6.zip |
*** empty log message ***
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java | 6 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java index 5f150a0795..862ec4a743 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java @@ -2457,9 +2457,9 @@ public void setVisible (boolean visible) { * not respond to a mnemonic. The fix is to unrealize * the widget hierarchy every time a widget is hidden. * - * Note: Controls who have an IM context associated can - * not call unrealize because it will force the widget to be - * remapped. + * Note: Controls who have an IM context associated cannot + * call gtk_widget_unrealize() because it forces the widget to + * be remapped. */ int imHandle = imHandle (); if (imHandle == 0) OS.gtk_widget_unrealize (topHandle); diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java index 81c9d5db3d..51b3d8b44c 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java @@ -800,6 +800,11 @@ static boolean isValidClass (Class clazz) { return name.substring (0, index + 1).equals (PACKAGE_PREFIX); } +public int getDismissalAlignment () { + checkDevice (); + return SWT.RIGHT; +} + /**
* Returns the longest duration, in milliseconds, between
* two mouse button clicks that will be considered a
|