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
35289f81
Commit
35289f81
authored
Jul 06, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/taskdialog: Fix pointer cast warnings.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
478a3d64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
taskdialog.c
dlls/comctl32/taskdialog.c
+2
-2
No files found.
dlls/comctl32/taskdialog.c
View file @
35289f81
...
...
@@ -488,7 +488,7 @@ static void taskdialog_add_radio_buttons(struct taskdialog_info *dialog_info)
textW
=
taskdialog_gettext
(
dialog_info
,
TRUE
,
taskconfig
->
pRadioButtons
[
i
].
pszButtonText
);
dialog_info
->
radio_buttons
[
i
]
=
CreateWindowW
(
WC_BUTTONW
,
textW
,
i
==
0
?
style
|
WS_GROUP
:
style
,
0
,
0
,
0
,
0
,
dialog_info
->
hwnd
,
(
HMENU
)
taskconfig
->
pRadioButtons
[
i
].
nButtonID
,
0
,
NULL
);
ULongToHandle
(
taskconfig
->
pRadioButtons
[
i
].
nButtonID
)
,
0
,
NULL
);
SendMessageW
(
dialog_info
->
radio_buttons
[
i
],
WM_SETFONT
,
(
WPARAM
)
dialog_info
->
font
,
0
);
Free
(
textW
);
}
...
...
@@ -514,7 +514,7 @@ static void taskdialog_add_command_links(struct taskdialog_info *dialog_info)
style
=
is_default
?
default_style
|
BS_DEFCOMMANDLINK
:
default_style
|
BS_COMMANDLINK
;
textW
=
taskdialog_gettext
(
dialog_info
,
TRUE
,
taskconfig
->
pButtons
[
i
].
pszButtonText
);
dialog_info
->
command_links
[
i
]
=
CreateWindowW
(
WC_BUTTONW
,
textW
,
style
,
0
,
0
,
0
,
0
,
dialog_info
->
hwnd
,
(
HMENU
)
taskconfig
->
pButtons
[
i
].
nButtonID
,
0
,
NULL
);
ULongToHandle
(
taskconfig
->
pButtons
[
i
].
nButtonID
)
,
0
,
NULL
);
SendMessageW
(
dialog_info
->
command_links
[
i
],
WM_SETFONT
,
(
WPARAM
)
dialog_info
->
font
,
0
);
Free
(
textW
);
...
...
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