Re: [PATCH] user32/scroll: Move GetDCEx to stop DC leak
18 May
2016
18 May
'16
12:03 p.m.
Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> writes:
@@ -920,9 +919,12 @@ static void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt) break;
default: + WARN("unsupported msg %s\n", SPY_GetMsgName(msg,hwnd)); return; /* Should never happen */ }
+ hdc = GetDCEx( hwnd, 0, DCX_CACHE | ((nBar == SB_CTL) ? 0 : DCX_WINDOW));
The function is only called for the messages it supports, so there's no need to add handling for other cases. -- Alexandre Julliard julliard(a)winehq.org
3497
Age (days ago)
3497
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard