]> git.saurik.com Git - wxWidgets.git/commit
Restore the correct brush in wxGCDC::GradientFill() methods.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 29 Mar 2012 23:43:43 +0000 (23:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 29 Mar 2012 23:43:43 +0000 (23:43 +0000)
commitbe6b31f34fe03bc7ce708a8c4b077e41ac2f1362
tree3933f3202b3b4ecefba3cde3a8558c6a82b1e638
parent65a2074e9c129fa1251786048547d6ae16a567c5
Restore the correct brush in wxGCDC::GradientFill() methods.

Both GradientFillLinear() and GradientFillConcentric() changed the brush on
the underlying wxGraphicsContext but didn't restore the default brush back.

Closes #14131.

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