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
a04c6db8
Commit
a04c6db8
authored
Oct 23, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Explicitly initialize window handle.
parent
3c92b6c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
toolbar.c
dlls/comctl32/tests/toolbar.c
+2
-2
No files found.
dlls/comctl32/tests/toolbar.c
View file @
a04c6db8
...
...
@@ -162,7 +162,7 @@ static void basic_test(void)
static
void
rebuild_toolbar
(
HWND
*
hToolbar
)
{
if
(
*
hToolbar
!=
NULL
)
if
(
*
hToolbar
)
DestroyWindow
(
*
hToolbar
);
*
hToolbar
=
CreateWindowEx
(
0
,
TOOLBARCLASSNAME
,
NULL
,
WS_CHILD
|
WS_VISIBLE
,
0
,
0
,
0
,
0
,
hMainWnd
,
(
HMENU
)
5
,
GetModuleHandle
(
NULL
),
NULL
);
...
...
@@ -1082,7 +1082,7 @@ static void restore_recalc_state(HWND hToolbar)
static
void
test_recalc
(
void
)
{
HWND
hToolbar
;
HWND
hToolbar
=
NULL
;
TBBUTTONINFO
bi
;
CHAR
test
[]
=
"Test"
;
const
int
EX_STYLES_COUNT
=
5
;
...
...
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