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
6eb6e31e
Commit
6eb6e31e
authored
Sep 28, 2009
by
Ge van Geldorp
Committed by
Alexandre Julliard
Sep 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Fix toolbar test on comctl32 version 4.72.
parent
dbb29993
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
toolbar.c
dlls/comctl32/tests/toolbar.c
+21
-1
No files found.
dlls/comctl32/tests/toolbar.c
View file @
6eb6e31e
...
...
@@ -740,6 +740,22 @@ static tbsize_result_t tbsize_results[] =
static
int
tbsize_numtests
=
0
;
typedef
struct
{
int
test_num
;
int
rect_index
;
RECT
rcButton
;
}
tbsize_alt_result_t
;
static
tbsize_alt_result_t
tbsize_alt_results
[]
=
{
{
5
,
2
,
{
0
,
24
,
8
,
29
}
},
{
20
,
1
,
{
100
,
2
,
107
,
102
}
},
{
20
,
2
,
{
107
,
2
,
207
,
102
}
}
};
static
int
tbsize_alt_numtests
=
0
;
#define check_sizes_todo(todomask) { \
RECT rc; \
int buttonCount, i, mask=(todomask); \
...
...
@@ -751,7 +767,11 @@ static int tbsize_numtests = 0;
compare(buttonCount, res->nButtons, "%d"); \
for (i=0; i<min(buttonCount, res->nButtons); i++) { \
ok(SendMessageA(hToolbar, TB_GETITEMRECT, i, (LPARAM)&rc) == 1, "TB_GETITEMRECT\n"); \
if (!(mask&1)) { \
if (broken(tbsize_alt_numtests < sizeof(tbsize_alt_results)/sizeof(tbsize_alt_results[0]) && \
memcmp(&rc, &tbsize_alt_results[tbsize_alt_numtests].rcButton, sizeof(RECT)) == 0)) { \
win_skip("Alternate rect found\n"); \
tbsize_alt_numtests++; \
} else if (!(mask&1)) { \
check_rect("button", rc, res->rcButtons[i]); \
} else {\
todo_wine { check_rect("button", rc, res->rcButtons[i]); } \
...
...
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