summaryrefslogtreecommitdiffstats
path: root/bundles
diff options
context:
space:
mode:
authorSteve Northover <steve>2005-09-09 14:54:03 +0000
committerSteve Northover <steve>2005-09-09 14:54:03 +0000
commit253492d979c6cabc0bd1a5cbc12740f16c5ad10f (patch)
tree6b6b0ab1853adf7545bf2927a713fb8d5c64b598 /bundles
parent19dd2f24a3df5fc3525eeabefcd5483bd920d605 (diff)
downloadeclipse.platform.swt-253492d979c6cabc0bd1a5cbc12740f16c5ad10f.tar.gz
eclipse.platform.swt-253492d979c6cabc0bd1a5cbc12740f16c5ad10f.tar.xz
eclipse.platform.swt-253492d979c6cabc0bd1a5cbc12740f16c5ad10f.zip
108865 - SWT.DOUBLE_BUFFERED + GC.drawFocus() equals cheese
Diffstat (limited to 'bundles')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
index a26ea7907a..8659065bcf 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
@@ -1150,6 +1150,7 @@ LRESULT WM_PAINT (int wParam, int lParam) {
OS.OffsetRgn (sysRgn, ps.left, ps.top);
OS.SetMetaRgn (gc.handle);
OS.SetWindowOrgEx (gc.handle, ps.left, ps.top, null);
+ OS.SetBrushOrgEx (gc.handle, ps.left, ps.top, null);
}
Event event = new Event ();
event.gc = gc;