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
d732cd74
Commit
d732cd74
authored
Oct 25, 2010
by
Austin Lund
Committed by
Alexandre Julliard
Oct 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix some combo box tests for different font sizes.
parent
bc1f5c4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
combo.c
dlls/user32/tests/combo.c
+2
-2
No files found.
dlls/user32/tests/combo.c
View file @
d732cd74
...
...
@@ -77,7 +77,7 @@ static void test_setitemheight(DWORD style)
trace
(
"Style %x
\n
"
,
style
);
GetClientRect
(
hCombo
,
&
r
);
expect_rect
(
r
,
0
,
0
,
100
,
24
);
expect_rect
(
r
,
0
,
0
,
100
,
font_height
(
GetStockObject
(
SYSTEM_FONT
))
+
8
);
SendMessageA
(
hCombo
,
CB_GETDROPPEDCONTROLRECT
,
0
,
(
LPARAM
)
&
r
);
MapWindowPoints
(
HWND_DESKTOP
,
hMainWnd
,
(
LPPOINT
)
&
r
,
2
);
todo_wine
expect_rect
(
r
,
5
,
5
,
105
,
105
);
...
...
@@ -112,7 +112,7 @@ static void test_setfont(DWORD style)
hFont2
=
CreateFont
(
8
,
0
,
0
,
0
,
FW_DONTCARE
,
FALSE
,
FALSE
,
FALSE
,
SYMBOL_CHARSET
,
OUT_DEFAULT_PRECIS
,
CLIP_DEFAULT_PRECIS
,
DEFAULT_QUALITY
,
DEFAULT_PITCH
|
FF_DONTCARE
,
"Marlett"
);
GetClientRect
(
hCombo
,
&
r
);
expect_rect
(
r
,
0
,
0
,
100
,
24
);
expect_rect
(
r
,
0
,
0
,
100
,
font_height
(
GetStockObject
(
SYSTEM_FONT
))
+
8
);
SendMessageA
(
hCombo
,
CB_GETDROPPEDCONTROLRECT
,
0
,
(
LPARAM
)
&
r
);
MapWindowPoints
(
HWND_DESKTOP
,
hMainWnd
,
(
LPPOINT
)
&
r
,
2
);
todo_wine
expect_rect
(
r
,
5
,
5
,
105
,
105
);
...
...
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