gdi32: Make EnumEnhMetaFile update the DC state before calling the callback.
commitd1fe894a7d55524af4184e99f4c38ecf51b5c5b0
authorDmitry Timoshkov <dmitry@codeweavers.com>
Wed, 22 Oct 2008 04:43:19 +0000 (22 13:43 +0900)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 22 Oct 2008 11:54:53 +0000 (22 13:54 +0200)
treeacf15ee9da6d3df7130424bd9fc509411a702794
parent5bcb15dd7f5182ba90d43e07f27373e054f4ebe7
gdi32: Make EnumEnhMetaFile update the DC state before calling the callback.

This makes applications with custom callbacks work properly, and fixes
'make test' in a win9x mode.
dlls/gdi32/enhmetafile.c