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:
@@ -2665,8 +2665,6 @@ void wxDC::DoGradientFillLinear (const wxRect& rect,
|
|||||||
vertices[1 - firstVertex].Blue = (COLOR16)(destColour.Blue() << 8);
|
vertices[1 - firstVertex].Blue = (COLOR16)(destColour.Blue() << 8);
|
||||||
vertices[1 - firstVertex].Alpha = 0;
|
vertices[1 - firstVertex].Alpha = 0;
|
||||||
|
|
||||||
if (nDirection == wxWEST ||
|
|
||||||
nDirection == wxEAST)
|
|
||||||
if ( (*pfnGradientFill)
|
if ( (*pfnGradientFill)
|
||||||
(
|
(
|
||||||
GetHdc(),
|
GetHdc(),
|
||||||
|
Reference in New Issue
Block a user