summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover <steve>2001-11-15 18:13:11 +0000
committerSteve Northover <steve>2001-11-15 18:13:11 +0000
commit10957ed5d2b31ee830e63f5c2109a11f96063c35 (patch)
treec1dd9083decab4c1f9ec1f74d1f5407e8cb7b930
parentf634f2c80490effba66baddc22bba5be6d741d41 (diff)
downloadeclipse.platform.swt-10957ed5d2b31ee830e63f5c2109a11f96063c35.tar.gz
eclipse.platform.swt-10957ed5d2b31ee830e63f5c2109a11f96063c35.tar.xz
eclipse.platform.swt-10957ed5d2b31ee830e63f5c2109a11f96063c35.zip
*** empty log message ***
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
index 1f5daf0bd0..d4337f5fdb 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
@@ -161,13 +161,13 @@ void add (MenuItem item) {
void bringToTop () {
/*
* This code is intentionally commented. On some platforms,
- * the NO_TRIM style creates a shell that will stay on top
+ * the ON_TOP style creates a shell that will stay on top
* of every other shell on the desktop. Using SetWindowPos ()
* with HWND_TOP caused problems on Windows so this code is
* commented out until this functionality is specified and
* the problems are fixed.
*/
-// if ((style & SWT.NO_TRIM) != 0) {
+// if ((style & SWT.ON_TOP) != 0) {
// int flags = OS.SWP_NOSIZE | OS.SWP_NOMOVE | OS.SWP_NOACTIVATE;
// OS.SetWindowPos (handle, OS.HWND_TOP, 0, 0, 0, 0, flags);
// } else {
@@ -803,7 +803,8 @@ void setParent () {
* a menu bar, setParent () is needed to reset
* the parent. Otherwise, the MDI child window
* will appear as a separate shell. This is an
- * undocumented and dangerous Windows feature.
+ * undocumented and possibly dangerous Windows
+ * feature.
*/
Display display = getDisplay ();
int hwndParent = parent.handle;