Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3ef4f43c
Commit
3ef4f43c
authored
Nov 11, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Nov 11, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed WM_PAINT in ANIMATE_WindowProc; call DefWindowProcA for default handling.
parent
5aee80f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
animate.c
dlls/comctl32/animate.c
+6
-5
No files found.
dlls/comctl32/animate.c
View file @
3ef4f43c
...
...
@@ -882,7 +882,8 @@ static LRESULT WINAPI ANIMATE_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LP
/* the animation isn't playing, don't paint */
if
(
!
infoPtr
->
uTimer
&&
!
infoPtr
->
hThread
)
break
;
/* default paint handling */
return
DefWindowProcA
(
hWnd
,
uMsg
,
wParam
,
lParam
);
if
(
GetWindowLongA
(
hWnd
,
GWL_STYLE
)
&
ACS_TRANSPARENT
)
infoPtr
->
hbrushBG
=
SendMessageA
(
GetParent
(
hWnd
),
WM_CTLCOLORSTATIC
,
...
...
@@ -896,15 +897,15 @@ static LRESULT WINAPI ANIMATE_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LP
}
else
{
PAINTSTRUCT
ps
;
HDC
hDC
=
BeginPaint
(
hWnd
,
&
ps
);
PAINTSTRUCT
ps
;
HDC
hDC
=
BeginPaint
(
hWnd
,
&
ps
);
EnterCriticalSection
(
&
infoPtr
->
cs
);
ANIMATE_PaintFrame
(
infoPtr
,
hDC
);
LeaveCriticalSection
(
&
infoPtr
->
cs
);
EndPaint
(
hWnd
,
&
ps
);
}
EndPaint
(
hWnd
,
&
ps
);
}
}
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment