Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
e7011c9d
Commit
e7011c9d
authored
Feb 10, 2022
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Feb 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tab: Always draw parent background when themed.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b13c4127
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
tab.c
dlls/comctl32/tab.c
+5
-0
misc.c
dlls/comctl32/tests/misc.c
+1
-1
No files found.
dlls/comctl32/tab.c
View file @
e7011c9d
...
...
@@ -2315,9 +2315,14 @@ static void TAB_DrawBorder(const TAB_INFO *infoPtr, HDC hdc)
TRACE
(
"border=(%s)
\n
"
,
wine_dbgstr_rect
(
&
rect
));
if
(
theme
)
{
DrawThemeParentBackground
(
infoPtr
->
hwnd
,
hdc
,
&
rect
);
DrawThemeBackground
(
theme
,
hdc
,
TABP_PANE
,
0
,
&
rect
,
NULL
);
}
else
{
DrawEdge
(
hdc
,
&
rect
,
EDGE_RAISED
,
BF_SOFT
|
BF_RECT
);
}
}
/******************************************************************************
...
...
dlls/comctl32/tests/misc.c
View file @
e7011c9d
...
...
@@ -881,7 +881,7 @@ static void test_themed_background(void)
{
WC_STATICA
,
SS_ETCHEDHORZ
,
wm_ctlcolorstatic_seq
,
TRUE
},
{
STATUSCLASSNAMEA
,
0
,
empty_seq
},
{
"SysLink"
,
0
,
wm_ctlcolorstatic_seq
},
{
WC_TABCONTROLA
,
0
,
drawthemeparentbackground_seq
,
TRUE
},
{
WC_TABCONTROLA
,
0
,
drawthemeparentbackground_seq
},
{
TOOLBARCLASSNAMEA
,
0
,
empty_seq
,
TRUE
},
{
TOOLTIPS_CLASSA
,
0
,
empty_seq
},
{
TRACKBAR_CLASSA
,
0
,
wm_ctlcolorstatic_seq
},
...
...
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