summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover <steve>2006-03-17 17:41:51 +0000
committerSteve Northover <steve>2006-03-17 17:41:51 +0000
commit9ec80cf0d4a36412fa189297e32306d0af7dafe0 (patch)
tree5abf4b7c6d13120c4f3416f051bb992a9bdd235f
parente2b3db5bcda8b2fc02d1e1789f8d5d7aaee21221 (diff)
downloadeclipse.platform.swt-9ec80cf0d4a36412fa189297e32306d0af7dafe0.tar.gz
eclipse.platform.swt-9ec80cf0d4a36412fa189297e32306d0af7dafe0.tar.xz
eclipse.platform.swt-9ec80cf0d4a36412fa189297e32306d0af7dafe0.zip
fix selection rect for SWT.EraseItem
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java2
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 e22bd68788..fcf1cca245 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
@@ -2789,7 +2789,7 @@ void sendEraseItemEvent (TableItem item, NMLVCUSTOMDRAW nmcd, int lParam) {
ignoreDraw = !event.doit;
if (ignoreDraw) {
boolean fullText = (style & SWT.FULL_SELECTION) != 0;
- RECT clipRect = item.getBounds (nmcd.dwItemSpec, nmcd.iSubItem, true, true, fullText, false, hDC);
+ RECT clipRect = item.getBounds (nmcd.dwItemSpec, nmcd.iSubItem, true, false, fullText, false, hDC);
if (!ignoreDrawSelected && clrSelectionBk != -1) fillBackground (hDC, clrSelectionBk, clipRect);
OS.SaveDC (hDC);
OS.SelectClipRgn (hDC, 0);