]> git.saurik.com Git - wxWidgets.git/commit
Correct custom renderer method override example in the sample.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:56:31 +0000 (22:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:56:31 +0000 (22:56 +0000)
commit34456d33dc89cea4e7ba96837eccb88b0defb958
treee6d8607136f5a38f91128ea81a2d7af789816549
parent1641cb376d295763dcc8bddfc01c8cca0e585332
Correct custom renderer method override example in the sample.

The implementation of DrawHeaderButton() in MyRenderer should restore the
text foreground colour and brush to avoid messing up drawing done after it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/render/render.cpp