]> git.sesse.net Git - vlc/commit
skins(Win32): replace GetWindowDC with GetDC
authorErwan Tulou <erwan10@videolan.org>
Mon, 1 Mar 2010 17:16:47 +0000 (18:16 +0100)
committerErwan Tulou <erwan10@videolan.org>
Mon, 1 Mar 2010 20:58:29 +0000 (21:58 +0100)
commit4ad06d105245706d12932f3391584ee5f5bbf5ea
treec4726a2518bc2d83deb2bf7f34297c54b3c7d7d6
parent88d39ceef6b983663ccae410be55a2ace26d9074
skins(Win32): replace GetWindowDC with GetDC

GetWindowDC paints in nonclient area (not recommended on msdn)
and not needed for skins. Also, it doesn't take WS_CLIPCHILDREN
into account and forced to add a lengthy hack which can now be removed.

This patch hopefully could also fix a refresh issue found only on
Vista/Win7 (to be tested) (http://forum.videolan.org/viewtopic.php?f=15&t=68891)
modules/gui/skins2/src/generic_layout.cpp
modules/gui/skins2/src/generic_layout.hpp
modules/gui/skins2/src/top_window.cpp
modules/gui/skins2/src/top_window.hpp
modules/gui/skins2/win32/win32_graphics.cpp
modules/gui/skins2/win32/win32_tooltip.cpp