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
d1791f81
Commit
d1791f81
authored
Oct 27, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Remove superfluous casts as HANDLE to other handle types.
parent
42e612fd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
comboex.c
dlls/comctl32/comboex.c
+2
-2
ipaddress.c
dlls/comctl32/ipaddress.c
+1
-1
toolbar.c
dlls/comctl32/toolbar.c
+1
-1
No files found.
dlls/comctl32/comboex.c
View file @
d1791f81
...
...
@@ -1713,7 +1713,7 @@ static LRESULT COMBOEX_WindowPosChanging (COMBOEX_INFO *infoPtr, WINDOWPOS *wp)
static
LRESULT
WINAPI
COMBOEX_EditWndProc
(
HWND
hwnd
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
HWND
hwndComboex
=
(
HWND
)
GetPropW
(
hwnd
,
COMBOEX_SUBCLASS_PROP
);
HWND
hwndComboex
=
GetPropW
(
hwnd
,
COMBOEX_SUBCLASS_PROP
);
COMBOEX_INFO
*
infoPtr
=
COMBOEX_GetInfoPtr
(
hwndComboex
);
NMCBEENDEDITW
cbeend
;
WCHAR
edit_text
[
260
];
...
...
@@ -1911,7 +1911,7 @@ COMBOEX_EditWndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static
LRESULT
WINAPI
COMBOEX_ComboWndProc
(
HWND
hwnd
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
HWND
hwndComboex
=
(
HWND
)
GetPropW
(
hwnd
,
COMBOEX_SUBCLASS_PROP
);
HWND
hwndComboex
=
GetPropW
(
hwnd
,
COMBOEX_SUBCLASS_PROP
);
COMBOEX_INFO
*
infoPtr
=
COMBOEX_GetInfoPtr
(
hwndComboex
);
NMCBEENDEDITW
cbeend
;
NMMOUSE
nmmse
;
...
...
dlls/comctl32/ipaddress.c
View file @
d1791f81
...
...
@@ -454,7 +454,7 @@ static BOOL IPADDRESS_GotoNextField (const IPADDRESS_INFO *infoPtr, int cur, int
LRESULT
CALLBACK
IPADDRESS_SubclassProc
(
HWND
hwnd
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
HWND
Self
=
(
HWND
)
GetPropW
(
hwnd
,
IP_SUBCLASS_PROP
);
HWND
Self
=
GetPropW
(
hwnd
,
IP_SUBCLASS_PROP
);
IPADDRESS_INFO
*
infoPtr
=
(
IPADDRESS_INFO
*
)
GetWindowLongPtrW
(
Self
,
0
);
CHAR
c
=
(
CHAR
)
wParam
;
INT
index
,
len
=
0
,
startsel
,
endsel
;
...
...
dlls/comctl32/toolbar.c
View file @
d1791f81
...
...
@@ -2665,7 +2665,7 @@ TOOLBAR_AddBitmapToImageList(TOOLBAR_INFO *infoPtr, HIMAGELIST himlDef, const TB
TRACE
(
"adding hInst=%p nID=%d nButtons=%d
\n
"
,
bitmap
->
hInst
,
bitmap
->
nID
,
bitmap
->
nButtons
);
/* Add bitmaps to the default image list */
if
(
bitmap
->
hInst
==
NULL
)
/* a handle was passed */
hbmLoad
=
(
HBITMAP
)
CopyImage
(
ULongToHandle
(
bitmap
->
nID
),
IMAGE_BITMAP
,
0
,
0
,
0
);
hbmLoad
=
CopyImage
(
ULongToHandle
(
bitmap
->
nID
),
IMAGE_BITMAP
,
0
,
0
,
0
);
else
hbmLoad
=
CreateMappedBitmap
(
bitmap
->
hInst
,
bitmap
->
nID
,
0
,
NULL
,
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