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
552ad2d9
Commit
552ad2d9
authored
Jul 09, 2014
by
Huw Davies
Committed by
Alexandre Julliard
Jul 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Propagate the return value of WM_ERASEBKGND.
parent
d892239f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
pager.c
dlls/comctl32/pager.c
+3
-2
No files found.
dlls/comctl32/pager.c
View file @
552ad2d9
...
...
@@ -985,16 +985,17 @@ PAGER_EraseBackground (const PAGER_INFO* infoPtr, HDC hdc)
{
POINT
pt
,
ptorig
;
HWND
parent
;
LRESULT
ret
;
pt
.
x
=
0
;
pt
.
y
=
0
;
parent
=
GetParent
(
infoPtr
->
hwndSelf
);
MapWindowPoints
(
infoPtr
->
hwndSelf
,
parent
,
&
pt
,
1
);
OffsetWindowOrgEx
(
hdc
,
pt
.
x
,
pt
.
y
,
&
ptorig
);
SendMessageW
(
parent
,
WM_ERASEBKGND
,
(
WPARAM
)
hdc
,
0
);
ret
=
SendMessageW
(
parent
,
WM_ERASEBKGND
,
(
WPARAM
)
hdc
,
0
);
SetWindowOrgEx
(
hdc
,
ptorig
.
x
,
ptorig
.
y
,
0
);
return
0
;
return
ret
;
}
...
...
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