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
fffb41f6
Commit
fffb41f6
authored
Sep 08, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/header: Add XP SP3 workaround for Header tests. Fix window handle leak.
parent
cbe960f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
header.c
dlls/comctl32/tests/header.c
+17
-0
listview.c
dlls/comctl32/tests/listview.c
+1
-0
No files found.
dlls/comctl32/tests/header.c
View file @
fffb41f6
...
...
@@ -1701,6 +1701,7 @@ START_TEST(header)
{
HWND
parent_hwnd
;
ULONG_PTR
ctx_cookie
;
HWND
hwnd
;
if
(
!
init
())
return
;
...
...
@@ -1732,6 +1733,22 @@ START_TEST(header)
return
;
}
/* this is a XP SP3 failure workaround */
hwnd
=
CreateWindowExA
(
0
,
WC_HEADER
,
NULL
,
WS_CHILD
|
WS_BORDER
|
WS_VISIBLE
|
HDS_BUTTONS
|
HDS_HORZ
,
0
,
0
,
100
,
100
,
parent_hwnd
,
NULL
,
GetModuleHandleA
(
NULL
),
NULL
);
if
(
!
IsWindow
(
hwnd
))
{
win_skip
(
"FIXME: failed to create Header window.
\n
"
);
unload_v6_module
(
ctx_cookie
);
DestroyWindow
(
parent_hwnd
);
return
;
}
else
DestroyWindow
(
hwnd
);
/* comctl32 version 6 tests start here */
test_hdf_fixedwidth
(
parent_hwnd
);
test_hds_nosizing
(
parent_hwnd
);
...
...
dlls/comctl32/tests/listview.c
View file @
fffb41f6
...
...
@@ -4071,6 +4071,7 @@ START_TEST(listview)
{
win_skip
(
"FIXME: failed to create ListView window.
\n
"
);
unload_v6_module
(
ctx_cookie
);
DestroyWindow
(
hwndparent
);
return
;
}
else
...
...
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