]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't change the current pen and brush in DrawHeaderButtonContents().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 May 2010 11:15:05 +0000 (11:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 May 2010 11:15:05 +0000 (11:15 +0000)
Renderer methods shouldn't affect the functions drawing on the DC after it but
the wxRendererGeneric implementation did.

Use wxDC{Pen,Brush}Changer classes instead of calling wxDC::Set{Pen,Brush}()
directly.

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


No differences found