From: Vadim Zeitlin Date: Tue, 11 Apr 2006 21:28:12 +0000 (+0000) Subject: removed spurious if in DoGradientFillLinear() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c334a69083f81c8b4e598d533d7d5deb31783859 removed spurious if in DoGradientFillLinear() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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(),