Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
50a25a8e
Commit
50a25a8e
authored
Jan 20, 2011
by
Greg Geldorp
Committed by
Alexandre Julliard
Jan 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Fix failures for 120DPI display.
parent
40753023
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
listview.c
dlls/comctl32/tests/listview.c
+2
-2
rebar.c
dlls/comctl32/tests/rebar.c
+1
-1
treeview.c
dlls/comctl32/tests/treeview.c
+4
-0
No files found.
dlls/comctl32/tests/listview.c
View file @
50a25a8e
...
...
@@ -3309,7 +3309,7 @@ static void test_getitemrect(void)
expect
(
0
,
rect
.
left
);
expect
(
0
,
rect
.
top
);
hdc
=
GetDC
(
hwnd
);
todo_wine
expect
(
GetDeviceCaps
(
hdc
,
LOGPIXELSX
)
,
rect
.
right
);
todo_wine
expect
(
((
GetDeviceCaps
(
hdc
,
LOGPIXELSX
)
+
15
)
/
16
)
*
16
,
rect
.
right
);
ReleaseDC
(
hwnd
,
hdc
);
DestroyWindow
(
hwnd
);
...
...
@@ -4163,7 +4163,7 @@ static void test_getcolumnwidth(void)
SendMessage
(
hwnd
,
LVM_INSERTITEMA
,
0
,
(
LPARAM
)
&
itema
);
ret
=
SendMessage
(
hwnd
,
LVM_GETCOLUMNWIDTH
,
0
,
0
);
hdc
=
GetDC
(
hwnd
);
todo_wine
expect
(
GetDeviceCaps
(
hdc
,
LOGPIXELSX
)
,
ret
);
todo_wine
expect
(
((
GetDeviceCaps
(
hdc
,
LOGPIXELSX
)
+
15
)
/
16
)
*
16
,
ret
);
ReleaseDC
(
hwnd
,
hdc
);
DestroyWindow
(
hwnd
);
}
...
...
dlls/comctl32/tests/rebar.c
View file @
50a25a8e
...
...
@@ -924,7 +924,7 @@ static void expect_band_content_(int line, HWND hRebar, UINT uBand, INT fStyle,
expect_eq
(
line
,
rb
.
cyIntegral
,
cyIntegral
,
int
,
"%x"
);
expect_eq
(
line
,
rb
.
cxIdeal
,
cxIdeal
,
int
,
"%d"
);
expect_eq
(
line
,
rb
.
lParam
,
lParam
,
LPARAM
,
"%ld"
);
ok
(
rb
.
cxHeader
==
cxHeader
||
broken
(
rb
.
cxHeader
==
cxHeader_broken
),
ok
(
rb
.
cxHeader
==
cxHeader
||
rb
.
cxHeader
==
cxHeader
+
1
||
broken
(
rb
.
cxHeader
==
cxHeader_broken
),
"expected %d for %d from line %d
\n
"
,
cxHeader
,
rb
.
cxHeader
,
line
);
}
...
...
dlls/comctl32/tests/treeview.c
View file @
50a25a8e
...
...
@@ -91,6 +91,10 @@ static const struct message focus_seq[] = {
{
WM_NCCALCSIZE
,
sent
|
wparam
|
defwinproc
,
TRUE
},
{
WM_WINDOWPOSCHANGED
,
sent
|
defwinproc
},
{
WM_SIZE
,
sent
|
defwinproc
},
{
WM_WINDOWPOSCHANGING
,
sent
|
defwinproc
|
optional
},
{
WM_NCCALCSIZE
,
sent
|
wparam
|
defwinproc
|
optional
,
TRUE
},
{
WM_WINDOWPOSCHANGED
,
sent
|
defwinproc
|
optional
},
{
WM_SIZE
,
sent
|
defwinproc
|
optional
},
{
WM_PAINT
,
sent
|
defwinproc
},
{
WM_NCPAINT
,
sent
|
wparam
|
defwinproc
,
1
},
{
WM_ERASEBKGND
,
sent
|
defwinproc
},
...
...
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