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
fbb0e180
Commit
fbb0e180
authored
Jul 26, 2011
by
Austin English
Committed by
Alexandre Julliard
Jul 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Remove win9x hacks.
parent
5c1febe6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
listview.c
dlls/comctl32/tests/listview.c
+4
-12
No files found.
dlls/comctl32/tests/listview.c
View file @
fbb0e180
...
...
@@ -1323,8 +1323,7 @@ static void test_columns(void)
/* Check its width */
rc
=
SendMessageA
(
hwnd
,
LVM_GETCOLUMNWIDTH
,
0
,
0
);
ok
(
rc
==
10
||
broken
(
rc
==
0
)
/* win9x */
,
"Inserting column with no mask failed to set width to 10 with %d
\n
"
,
rc
);
ok
(
rc
==
10
,
"Inserting column with no mask failed to set width to 10 with %d
\n
"
,
rc
);
DestroyWindow
(
hwnd
);
...
...
@@ -3919,7 +3918,7 @@ static void test_notifyformat(void)
r
=
SendMessage
(
hwnd
,
LVM_GETUNICODEFORMAT
,
0
,
0
);
expect
(
0
,
r
);
r
=
SendMessage
(
header
,
HDM_GETUNICODEFORMAT
,
0
,
0
);
ok
(
r
==
1
||
broken
(
r
==
0
),
/* win9x */
"Expected 1, got %d
\n
"
,
r
);
ok
(
r
==
1
,
"Expected 1, got %d
\n
"
,
r
);
r
=
SendMessage
(
hwnd
,
WM_NOTIFYFORMAT
,
0
,
NF_QUERY
);
ok
(
r
!=
0
,
"Expected valid format
\n
"
);
...
...
@@ -3929,7 +3928,7 @@ static void test_notifyformat(void)
r
=
SendMessage
(
hwnd
,
LVM_GETUNICODEFORMAT
,
0
,
0
);
expect
(
1
,
r
);
r
=
SendMessage
(
header
,
HDM_GETUNICODEFORMAT
,
0
,
0
);
ok
(
r
==
1
||
broken
(
r
==
0
),
/* win9x */
"Expected 1, got %d
\n
"
,
r
);
ok
(
r
==
1
,
"Expected 1, got %d
\n
"
,
r
);
notifyFormat
=
NFR_ANSI
;
r
=
SendMessage
(
hwnd
,
WM_NOTIFYFORMAT
,
0
,
NF_REQUERY
);
...
...
@@ -3937,17 +3936,10 @@ static void test_notifyformat(void)
r
=
SendMessage
(
hwnd
,
LVM_GETUNICODEFORMAT
,
0
,
0
);
expect
(
0
,
r
);
r
=
SendMessage
(
header
,
HDM_GETUNICODEFORMAT
,
0
,
0
);
ok
(
r
==
1
||
broken
(
r
==
0
),
/* win9x */
"Expected 1, got %d
\n
"
,
r
);
ok
(
r
==
1
,
"Expected 1, got %d
\n
"
,
r
);
DestroyWindow
(
hwnd
);
/* try different unicode window combination and defaults */
if
(
!
GetModuleHandleW
(
NULL
))
{
win_skip
(
"Additional notify format tests are incompatible with Win9x
\n
"
);
return
;
}
hwndparentW
=
create_parent_window
(
TRUE
);
ok
(
IsWindow
(
hwndparentW
),
"Unicode parent creation failed
\n
"
);
if
(
!
IsWindow
(
hwndparentW
))
return
;
...
...
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