diff options
author | Felipe Heidrich <fheidric> | 2010-03-15 14:56:49 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2010-03-15 14:56:49 +0000 |
commit | 4412c1966083212fd2362ab9374bcde75a18bb11 (patch) | |
tree | 0517a0f4a4f6b18420d0abf5a524d6d40886e6d7 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java | |
parent | 1797728da552f148f404c4ca1b4919e69fef580c (diff) | |
download | eclipse.platform.swt-4412c1966083212fd2362ab9374bcde75a18bb11.tar.gz eclipse.platform.swt-4412c1966083212fd2362ab9374bcde75a18bb11.tar.xz eclipse.platform.swt-4412c1966083212fd2362ab9374bcde75a18bb11.zip |
Bug 305294 - Control.print(GC) causes side effects in Windows 7 Aero
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java index 5c7b58be8a..7c57027e7b 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java @@ -2094,11 +2094,11 @@ void printWidget (int /*long*/ hwnd, int /*long*/ hdc, GC gc) { } } if ((bits1 & OS.WS_VISIBLE) == 0) { - OS.DefWindowProc (hwnd, OS.WM_SETREDRAW, 1, 0); + OS.ShowWindow (hwnd, OS.SW_SHOW); } success = OS.PrintWindow (hwnd, hdc, 0); if ((bits1 & OS.WS_VISIBLE) == 0) { - OS.DefWindowProc (hwnd, OS.WM_SETREDRAW, 0, 0); + OS.ShowWindow (hwnd, OS.SW_HIDE); } if (fixPrintWindow) { if ((bits1 & OS.WS_VISIBLE) != 0) { |