From c334a69083f81c8b4e598d533d7d5deb31783859 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 11 Apr 2006 21:28:12 +0000 Subject: [PATCH] removed spurious if in DoGradientFillLinear() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/dc.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 0bb8d8752b..2984f14438 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -2665,8 +2665,6 @@ void wxDC::DoGradientFillLinear (const wxRect& rect, vertices[1 - firstVertex].Blue = (COLOR16)(destColour.Blue() << 8); vertices[1 - firstVertex].Alpha = 0; - if (nDirection == wxWEST || - nDirection == wxEAST) if ( (*pfnGradientFill) ( GetHdc(), -- 2.50.0