diff options
author | Bogdan Gheorghe <gheorghe> | 2010-02-25 18:06:22 +0000 |
---|---|---|
committer | Bogdan Gheorghe <gheorghe> | 2010-02-25 18:06:22 +0000 |
commit | cc83d934c7ecd9490a10ee8ca6f056b3625a0872 (patch) | |
tree | c3cd90155d8a98284658ce4721ff47604e0655f4 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java | |
parent | 9bf79aea63cb1a27afc9b9e1a2eba4b0f8c6e3b1 (diff) | |
download | eclipse.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-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java | 6 |
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); |