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
80e78371
Commit
80e78371
authored
Nov 09, 2001
by
Joshua Thielen
Committed by
Alexandre Julliard
Nov 09, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed BM_ messages SETCHECK and GETCHECK to SETCHECK16 and
GETCHECK16 in CheckDlgItem16 and IsDlgItemChecked16. Cast UINT16 value to UINT or INT depending on sign in SetDlgItemInt16.
parent
85a663f3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
wnd16.c
dlls/user/wnd16.c
+4
-3
No files found.
dlls/user/wnd16.c
View file @
80e78371
...
...
@@ -467,7 +467,8 @@ INT16 WINAPI GetDlgItemText16( HWND16 hwnd, INT16 id, SEGPTR str, UINT16 len )
*/
void
WINAPI
SetDlgItemInt16
(
HWND16
hwnd
,
INT16
id
,
UINT16
value
,
BOOL16
fSigned
)
{
SetDlgItemInt
(
WIN_Handle32
(
hwnd
),
(
UINT
)(
UINT16
)
id
,
value
,
fSigned
);
SetDlgItemInt
(
WIN_Handle32
(
hwnd
),
(
UINT
)(
UINT16
)
id
,
(
UINT
)(
fSigned
?
(
INT16
)
value
:
(
UINT16
)
value
),
fSigned
);
}
...
...
@@ -510,7 +511,7 @@ BOOL16 WINAPI CheckRadioButton16( HWND16 hwndDlg, UINT16 firstID,
*/
BOOL16
WINAPI
CheckDlgButton16
(
HWND16
hwnd
,
INT16
id
,
UINT16
check
)
{
SendDlgItemMessage16
(
hwnd
,
id
,
BM_SETCHECK
,
check
,
0
);
SendDlgItemMessage16
(
hwnd
,
id
,
BM_SETCHECK
16
,
check
,
0
);
return
TRUE
;
}
...
...
@@ -520,7 +521,7 @@ BOOL16 WINAPI CheckDlgButton16( HWND16 hwnd, INT16 id, UINT16 check )
*/
UINT16
WINAPI
IsDlgButtonChecked16
(
HWND16
hwnd
,
UINT16
id
)
{
return
(
UINT16
)
SendDlgItemMessage16
(
hwnd
,
id
,
BM_GETCHECK
,
0
,
0
);
return
(
UINT16
)
SendDlgItemMessage16
(
hwnd
,
id
,
BM_GETCHECK
16
,
0
,
0
);
}
...
...
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