diff options
author | Steve Northover <steve> | 2005-09-09 14:54:03 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2005-09-09 14:54:03 +0000 |
commit | 253492d979c6cabc0bd1a5cbc12740f16c5ad10f (patch) | |
tree | 6b6b0ab1853adf7545bf2927a713fb8d5c64b598 /bundles | |
parent | 19dd2f24a3df5fc3525eeabefcd5483bd920d605 (diff) | |
download | eclipse.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-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java | 1 |
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; |