forked from Mirrors/wine-wine
Fixed WM_PAINT in ANIMATE_WindowProc; call DefWindowProcA for default handling.
parent
5aee80f654
commit
3ef4f43c09
|
@ -882,7 +882,8 @@ static LRESULT WINAPI ANIMATE_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LP
|
||||||
|
|
||||||
/* the animation isn't playing, don't paint */
|
/* the animation isn't playing, don't paint */
|
||||||
if(!infoPtr->uTimer && !infoPtr->hThread)
|
if(!infoPtr->uTimer && !infoPtr->hThread)
|
||||||
break;
|
/* default paint handling */
|
||||||
|
return DefWindowProcA(hWnd, uMsg, wParam, lParam);
|
||||||
|
|
||||||
if (GetWindowLongA(hWnd, GWL_STYLE) & ACS_TRANSPARENT)
|
if (GetWindowLongA(hWnd, GWL_STYLE) & ACS_TRANSPARENT)
|
||||||
infoPtr->hbrushBG = SendMessageA(GetParent(hWnd), WM_CTLCOLORSTATIC,
|
infoPtr->hbrushBG = SendMessageA(GetParent(hWnd), WM_CTLCOLORSTATIC,
|
||||||
|
|
Loading…
Reference in New Issue