From e23bced878c2e7a5b1a7d3dcbb931ba8b6b58d09 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 28 May 2015 13:08:28 +0200 Subject: [PATCH] fix Windows build Change-Id: I5f0489e2fe8fc08461b3409de2690988826ed334 --- canvas/source/directx/dx_9rm.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx index 6d4157b68325..dbd260141cc2 100644 --- a/canvas/source/directx/dx_9rm.cxx +++ b/canvas/source/directx/dx_9rm.cxx @@ -673,10 +673,7 @@ namespace dxcanvas mpWindow->SetMouseTransparent( TRUE ); // parent should receive paint messages as well - // [ParentClipMode::NoClip], the argument is here - // passed as plain numeric value since the stupid - // define utilizes a USHORT cast. - mpWindow->SetParentClipMode(0x0002); + mpWindow->SetParentClipMode(ParentClipMode::NoClip); // the system child window must not clear its background mpWindow->EnableEraseBackground( sal_False );