]> git.saurik.com Git - wxWidgets.git/commit
Don't use possibly uninitialized pen in wxMSWDCImpl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:56:27 +0000 (22:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:56:27 +0000 (22:56 +0000)
commit1641cb376d295763dcc8bddfc01c8cca0e585332
tree9ef3f884705c3c37ce89ab3be3bebfd4c58e5ea1
parent5cdd38056584b912743717da0a610e5aaff99b97
Don't use possibly uninitialized pen in wxMSWDCImpl.

Check that m_pen is valid before checking if it is transparent in
DoDrawRoundedRectangle() too (this was already done in DoDrawRectangle() in
r53150).

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