summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine <veronika>2005-05-20 14:25:46 +0000
committerVeronika Irvine <veronika>2005-05-20 14:25:46 +0000
commitee8339923a3326da08dfe8adbbd45f733f061176 (patch)
treef67495de0bd91e76ff70690380e015dfd5de3df8
parent05253bbc16241c9078b41be3d85897d1b74b4872 (diff)
downloadeclipse.platform.swt-ee8339923a3326da08dfe8adbbd45f733f061176.tar.gz
eclipse.platform.swt-ee8339923a3326da08dfe8adbbd45f733f061176.tar.xz
eclipse.platform.swt-ee8339923a3326da08dfe8adbbd45f733f061176.zip
Bug 95691 After BringWindowToTop we could be disposed
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java1
1 files changed, 1 insertions, 0 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 ac401c25ad..314bd517d2 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
@@ -181,6 +181,7 @@ void bringToTop () {
// OS.SetWindowPos (handle, OS.HWND_TOP, 0, 0, 0, 0, flags);
// } else {
OS.BringWindowToTop (handle);
+ // Widget could be disposed at this point
// }
}