removed spurious if in DoGradientFillLinear()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-04-11 21:28:12 +00:00
parent b8f3257625
commit c334a69083

View File

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