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
b0a9fb6b
Commit
b0a9fb6b
authored
Mar 31, 2015
by
Mark Harmstone
Committed by
Alexandre Julliard
Apr 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix drawing of buddy background for updown controls.
parent
047698bf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
updown.c
dlls/comctl32/updown.c
+9
-3
No files found.
dlls/comctl32/updown.c
View file @
b0a9fb6b
...
...
@@ -366,12 +366,18 @@ static BOOL UPDOWN_SetBuddyInt (const UPDOWN_INFO *infoPtr)
*/
static
BOOL
UPDOWN_DrawBuddyBackground
(
const
UPDOWN_INFO
*
infoPtr
,
HDC
hdc
)
{
RECT
br
;
RECT
br
,
r
;
HTHEME
buddyTheme
=
GetWindowTheme
(
infoPtr
->
Buddy
);
if
(
!
buddyTheme
)
return
FALSE
;
GetClientRect
(
infoPtr
->
Buddy
,
&
br
);
MapWindowPoints
(
infoPtr
->
Buddy
,
infoPtr
->
Self
,
(
POINT
*
)
&
br
,
2
);
GetWindowRect
(
infoPtr
->
Buddy
,
&
br
);
MapWindowPoints
(
NULL
,
infoPtr
->
Self
,
(
POINT
*
)
&
br
,
2
);
GetClientRect
(
infoPtr
->
Self
,
&
r
);
if
(
infoPtr
->
dwStyle
&
UDS_ALIGNLEFT
)
br
.
left
=
r
.
left
;
else
if
(
infoPtr
->
dwStyle
&
UDS_ALIGNRIGHT
)
br
.
right
=
r
.
right
;
/* FIXME: take disabled etc. into account */
DrawThemeBackground
(
buddyTheme
,
hdc
,
0
,
0
,
&
br
,
NULL
);
return
TRUE
;
...
...
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