diff options
author | Felipe Heidrich <fheidric> | 2008-07-09 19:42:37 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2008-07-09 19:42:37 +0000 |
commit | fc67ded06b5f58d6245cd9c7801a61cfb1b7d24f (patch) | |
tree | 9979dbccf7f817eeb99f4243d49e30857074b3dc | |
parent | d97e6b1dcac3999c8b7d240e368d200a24717f21 (diff) | |
download | eclipse.platform.swt-fc67ded06b5f58d6245cd9c7801a61cfb1b7d24f.tar.gz eclipse.platform.swt-fc67ded06b5f58d6245cd9c7801a61cfb1b7d24f.tar.xz eclipse.platform.swt-fc67ded06b5f58d6245cd9c7801a61cfb1b7d24f.zip |
Bug 239482 - SWT.VIRTUAL Table Freezes under 3.4 when dragging (DND)
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java index ea3d8ffa23..2a0493067f 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java @@ -5397,7 +5397,7 @@ int /*long*/ windowProc (int /*long*/ hwnd, int msg, int /*long*/ wParam, int /* * * The fix for both cases is to create the image using PrintWindow(). */ - if ((!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) || hooks (SWT.EraseItem) || hooks (SWT.PaintItem)) { + if ((!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) || (style & SWT.VIRTUAL) != 0 || hooks (SWT.EraseItem) || hooks (SWT.PaintItem)) { int topIndex = (int)/*64*/OS.SendMessage (handle, OS.LVM_GETTOPINDEX, 0, 0); int selection = (int)/*64*/OS.SendMessage (handle, OS.LVM_GETNEXTITEM, topIndex - 1, OS.LVNI_SELECTED); if (selection == -1) return 0; |