Applied patch [ 648042 ] Erase background error
authorJulian Smart <julian@anthemion.co.uk>
Mon, 9 Dec 2002 10:20:44 +0000 (10:20 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 9 Dec 2002 10:20:44 +0000 (10:20 +0000)
commit635eb8bcc44d0bec40bcfa7e5cc8c6be1a0c7b96
tree876110c3897a7f9ffcf1018d065e48aa9e65382b
parent2a2a71e326fb9cf95b29dd10b7c8bb88cae4f439
Applied patch [ 648042 ] Erase background error

When erasing the background with a transparent
background the logical origin of the provided DC is (re)
set, but not restored to the old value. Restoring the old
value is needed because the DC is/can be shared with
the real draw code...

This patch solves problems like mentioned in bug report
#635217 and problems like controls (like radio controls
etc) that disappear when moving the mouse over them or
clicking on them...

Hans Van Leemputten

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