summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
diff options
context:
space:
mode:
authorBogdan Gheorghe <gheorghe>2010-02-25 18:06:22 +0000
committerBogdan Gheorghe <gheorghe>2010-02-25 18:06:22 +0000
commitcc83d934c7ecd9490a10ee8ca6f056b3625a0872 (patch)
treec3cd90155d8a98284658ce4721ff47604e0655f4 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
parent9bf79aea63cb1a27afc9b9e1a2eba4b0f8c6e3b1 (diff)
downloadeclipse.platform.swt-cc83d934c7ecd9490a10ee8ca6f056b3625a0872.tar.gz
eclipse.platform.swt-cc83d934c7ecd9490a10ee8ca6f056b3625a0872.tar.xz
eclipse.platform.swt-cc83d934c7ecd9490a10ee8ca6f056b3625a0872.zip
CTabFolder refactor
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
index f7561a8031..dbdba64403 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
@@ -719,9 +719,9 @@ LRESULT CDDS_ITEMPOSTPAINT (NMTVCUSTOMDRAW nmcd, int /*long*/ wParam, int /*long
if (i == 0) {
int right = Math.min (rect.right, width);
OS.SetRect (rect, rect.left, rect.top, right, rect.bottom);
- if (drawBackground) fillImageBackground (hDC, control, rect);
+ if (drawBackground) fillImageBackground (hDC, control, rect, 0, 0);
} else {
- if (drawBackground) fillImageBackground (hDC, control, rect);
+ if (drawBackground) fillImageBackground (hDC, control, rect, 0, 0);
}
}
}
@@ -984,7 +984,7 @@ LRESULT CDDS_ITEMPREPAINT (NMTVCUSTOMDRAW nmcd, int /*long*/ wParam, int /*long*
OS.SetRect (rect, nmcd.left, nmcd.top, nmcd.right, nmcd.bottom);
RECT cellRect = item.getBounds (index, true, true, true, true, true, hDC);
if (clrSortBk != -1) {
- drawBackground (hDC, cellRect, clrSortBk);
+ drawBackground (hDC, cellRect, clrSortBk, 0, 0);
} else {
if (OS.IsWindowEnabled (handle) || findImageControl () != null) {
drawBackground (hDC, rect);