summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
diff options
context:
space:
mode:
authorSteve Northover <steve>2008-04-18 21:56:34 +0000
committerSteve Northover <steve>2008-04-18 21:56:34 +0000
commitb332e1ecb6421f664a18c1bcf96e2b94c24f1610 (patch)
treec039c1049a5120c0c4b6d3fab00b08956b27a8a9 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
parentc87aae6d3c31d8056505e084eb4ffdab48e95621 (diff)
downloadeclipse.platform.swt-b332e1ecb6421f664a18c1bcf96e2b94c24f1610.tar.gz
eclipse.platform.swt-b332e1ecb6421f664a18c1bcf96e2b94c24f1610.tar.xz
eclipse.platform.swt-b332e1ecb6421f664a18c1bcf96e2b94c24f1610.zip
fix GDI+ to work with custom draw mirroring
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java5
1 files changed, 0 insertions, 5 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 51a3039875..1a46e8f27e 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
@@ -1298,11 +1298,6 @@ LRESULT WM_PAINT (int /*long*/ wParam, int /*long*/ lParam) {
OS.SetRect (prcTarget, ps.left, ps.top, ps.right, ps.bottom);
int /*long*/ hBufferedPaint = OS.BeginBufferedPaint (hDC, prcTarget, flags, null, phdc);
GCData data = new GCData ();
- if ((OS.GetLayout (hDC) & OS.LAYOUT_RTL) != 0) {
- data.style = SWT.RIGHT_TO_LEFT | SWT.MIRRORED;
- } else {
- data.style = SWT.LEFT_TO_RIGHT;
- }
data.device = display;
data.foreground = getForegroundPixel ();
Control control = findBackgroundControl ();