Fix generic implementation of wxDC::GradientFillConcentric().
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 28 Oct 2010 14:23:14 +0000 (14:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 28 Oct 2010 14:23:14 +0000 (14:23 +0000)
commit7825e3217173eac7366a2b9bffc39f8d22603536
treedbaf7eceb637d2f691a6d3d89288d443237d6f04
parent3a61f5db2c1292d1f6cbfc5bff1edfbdf7b1fc99
Fix generic implementation of wxDC::GradientFillConcentric().

The selected colour was not used as the code simply changed the value of
m_pen but didn't call SetPen() to actually use it. This resulted in always
using the default (black) colour when drawing concentric gradients.

Fix this by calling SetPen().

See #12337.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/dcbase.cpp