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(),