Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Wilson2001-09-14 21:15:59 +0000
committerMike Wilson2001-09-14 21:15:59 +0000
commit3408415757b729371c1220b2b2eb5c056e2f2f97 (patch)
treeadd84b598972ab5f21bb186ec4fe35eae2f8af8a /bundles
parentfbb3d8d6b3d402cd4ff1c23a30a007a8f16e5c1f (diff)
downloadeclipse.platform.swt-3408415757b729371c1220b2b2eb5c056e2f2f97.tar.gz
eclipse.platform.swt-3408415757b729371c1220b2b2eb5c056e2f2f97.tar.xz
eclipse.platform.swt-3408415757b729371c1220b2b2eb5c056e2f2f97.zip
v200a + fix for moveAbove
Diffstat (limited to 'bundles')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
index e06e9a526b..cf0769414a 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
@@ -1091,7 +1091,9 @@ public void moveAbove (Control control) {
* this case and return because the window is already the
* first child in the z-order.
*/
- if (hwndAfter == 0 || hwndAfter == handle) return;
+ if (hwndAfter == 0 || hwndAfter == handle) {
+ hwndAfter = OS.HWND_TOP;
+ }
}
int flags = OS.SWP_NOSIZE | OS.SWP_NOMOVE | OS.SWP_NOACTIVATE;
OS.SetWindowPos (handle, hwndAfter, 0, 0, 0, 0, flags);

Back to the top