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
bb6e8e56
Commit
bb6e8e56
authored
Jan 30, 2009
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Feb 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Simplify four functions by removing unused parameters.
parent
5da52e06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
syslink.c
dlls/comctl32/syslink.c
+8
-8
No files found.
dlls/comctl32/syslink.c
View file @
bb6e8e56
...
...
@@ -1317,7 +1317,7 @@ static LRESULT SYSLINK_SendParentNotify (const SYSLINK_INFO *infoPtr, UINT code,
* SYSLINK_SetFocus
* Handles receiving the input focus.
*/
static
LRESULT
SYSLINK_SetFocus
(
SYSLINK_INFO
*
infoPtr
,
HWND
PrevFocusWindow
)
static
LRESULT
SYSLINK_SetFocus
(
SYSLINK_INFO
*
infoPtr
)
{
PDOC_ITEM
Focus
;
...
...
@@ -1340,7 +1340,7 @@ static LRESULT SYSLINK_SetFocus (SYSLINK_INFO *infoPtr, HWND PrevFocusWindow)
* SYSLINK_KillFocus
* Handles losing the input focus.
*/
static
LRESULT
SYSLINK_KillFocus
(
SYSLINK_INFO
*
infoPtr
,
HWND
NewFocusWindow
)
static
LRESULT
SYSLINK_KillFocus
(
SYSLINK_INFO
*
infoPtr
)
{
PDOC_ITEM
Focus
;
...
...
@@ -1385,7 +1385,7 @@ static PDOC_ITEM SYSLINK_LinkAtPt (const SYSLINK_INFO *infoPtr, const POINT *pt,
* SYSLINK_LButtonDown
* Handles mouse clicks
*/
static
LRESULT
SYSLINK_LButtonDown
(
SYSLINK_INFO
*
infoPtr
,
DWORD
Buttons
,
const
POINT
*
pt
)
static
LRESULT
SYSLINK_LButtonDown
(
SYSLINK_INFO
*
infoPtr
,
const
POINT
*
pt
)
{
PDOC_ITEM
Current
,
Old
;
int
id
;
...
...
@@ -1411,7 +1411,7 @@ static LRESULT SYSLINK_LButtonDown (SYSLINK_INFO *infoPtr, DWORD Buttons, const
* SYSLINK_LButtonUp
* Handles mouse clicks
*/
static
LRESULT
SYSLINK_LButtonUp
(
SYSLINK_INFO
*
infoPtr
,
DWORD
Buttons
,
const
POINT
*
pt
)
static
LRESULT
SYSLINK_LButtonUp
(
SYSLINK_INFO
*
infoPtr
,
const
POINT
*
pt
)
{
if
(
infoPtr
->
MouseDownID
>
-
1
)
{
...
...
@@ -1601,14 +1601,14 @@ static LRESULT WINAPI SysLinkWindowProc(HWND hwnd, UINT message,
POINT
pt
;
pt
.
x
=
(
short
)
LOWORD
(
lParam
);
pt
.
y
=
(
short
)
HIWORD
(
lParam
);
return
SYSLINK_LButtonDown
(
infoPtr
,
wParam
,
&
pt
);
return
SYSLINK_LButtonDown
(
infoPtr
,
&
pt
);
}
case
WM_LBUTTONUP
:
{
POINT
pt
;
pt
.
x
=
(
short
)
LOWORD
(
lParam
);
pt
.
y
=
(
short
)
HIWORD
(
lParam
);
return
SYSLINK_LButtonUp
(
infoPtr
,
wParam
,
&
pt
);
return
SYSLINK_LButtonUp
(
infoPtr
,
&
pt
);
}
case
WM_KEYDOWN
:
...
...
@@ -1694,10 +1694,10 @@ static LRESULT WINAPI SysLinkWindowProc(HWND hwnd, UINT message,
return
SYSLINK_GetIdealHeight
(
infoPtr
);
case
WM_SETFOCUS
:
return
SYSLINK_SetFocus
(
infoPtr
,
(
HWND
)
wParam
);
return
SYSLINK_SetFocus
(
infoPtr
);
case
WM_KILLFOCUS
:
return
SYSLINK_KillFocus
(
infoPtr
,
(
HWND
)
wParam
);
return
SYSLINK_KillFocus
(
infoPtr
);
case
WM_ENABLE
:
infoPtr
->
Style
&=
~
WS_DISABLED
;
...
...
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