comctl32: Don't get the background colour in ANIMATE_PaintFrame as this can be…
comctl32: Don't get the background colour in ANIMATE_PaintFrame as this can be called inside a critical section.
This could therefore create a deadlock if the processing for
WM_CTLCOLORSTATIC ends up sending certain messages to the animate control.
So move the retrieval of the background colour into the callers of
ANIMATE_PaintFrame but outside of any critical section.
Showing
Please
register
or
sign in
to comment