Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover2006-11-02 21:11:47 +0000
committerSteve Northover2006-11-02 21:11:47 +0000
commit5007b3f87119fd7d8d8f1923ebcf6e1d86fd8965 (patch)
treefe2ed8b34c200a97713f77086898ddd2a38e99b0
parent02ae867bc6ffef60d6a3585eb2cee1c41739d520 (diff)
downloadeclipse.platform.swt-5007b3f87119fd7d8d8f1923ebcf6e1d86fd8965.tar.gz
eclipse.platform.swt-5007b3f87119fd7d8d8f1923ebcf6e1d86fd8965.tar.xz
eclipse.platform.swt-5007b3f87119fd7d8d8f1923ebcf6e1d86fd8965.zip
154019 - "Item not removed" error in Tree followed by VM crash
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
index d1c0a8c1c7..eb4fadd07e 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
@@ -91,7 +91,7 @@ public class OS extends Platform {
OS.MoveMemory (pszText, buffer, byteCount);
ACTCTX pActCtx = new ACTCTX ();
pActCtx.cbSize = ACTCTX.sizeof;
- pActCtx.dwFlags = OS.ACTCTX_FLAG_RESOURCE_NAME_VALID;
+ pActCtx.dwFlags = OS.ACTCTX_FLAG_RESOURCE_NAME_VALID | OS.ACTCTX_FLAG_SET_PROCESS_DEFAULT;
pActCtx.lpSource = pszText;
pActCtx.lpResourceName = OS.MANIFEST_RESOURCE_ID;
int hActCtx = OS.CreateActCtx (pActCtx);

Back to the top