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
f79c4d6f
Commit
f79c4d6f
authored
Apr 24, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/syslink: Call default procedure directly when needed.
parent
f6b3376e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
syslink.c
dlls/comctl32/syslink.c
+6
-6
No files found.
dlls/comctl32/syslink.c
View file @
f79c4d6f
...
...
@@ -1564,7 +1564,7 @@ static LRESULT WINAPI SysLinkWindowProc(HWND hwnd, UINT message,
infoPtr
=
(
SYSLINK_INFO
*
)
GetWindowLongPtrW
(
hwnd
,
0
);
if
(
!
infoPtr
&&
message
!=
WM_CREATE
)
goto
HandleDefaultMessage
;
return
DefWindowProcW
(
hwnd
,
message
,
wParam
,
lParam
)
;
switch
(
message
)
{
case
WM_PRINTCLIENT
:
...
...
@@ -1588,8 +1588,8 @@ static LRESULT WINAPI SysLinkWindowProc(HWND hwnd, UINT message,
SetCursor
(
LoadCursorW
(
0
,
(
LPCWSTR
)
IDC_HAND
));
return
TRUE
;
}
/* let the default window proc handle this message */
goto
HandleDefaultMessage
;
return
DefWindowProcW
(
hwnd
,
message
,
wParam
,
lParam
)
;
}
case
WM_SIZE
:
...
...
@@ -1615,7 +1615,7 @@ static LRESULT WINAPI SysLinkWindowProc(HWND hwnd, UINT message,
case
WM_SETTEXT
:
SYSLINK_SetText
(
infoPtr
,
(
LPWSTR
)
lParam
);
goto
HandleDefaultMessage
;
return
DefWindowProcW
(
hwnd
,
message
,
wParam
,
lParam
)
;
case
WM_LBUTTONDOWN
:
{
...
...
@@ -1645,8 +1645,9 @@ static LRESULT WINAPI SysLinkWindowProc(HWND hwnd, UINT message,
SYSKEY_SelectNextPrevLink
(
infoPtr
,
shift
);
return
0
;
}
default:
return
DefWindowProcW
(
hwnd
,
message
,
wParam
,
lParam
);
}
goto
HandleDefaultMessage
;
}
case
WM_GETDLGCODE
:
...
...
@@ -1777,7 +1778,6 @@ static LRESULT WINAPI SysLinkWindowProc(HWND hwnd, UINT message,
return
0
;
default:
HandleDefaultMessage:
if
((
message
>=
WM_USER
)
&&
(
message
<
WM_APP
)
&&
!
COMCTL32_IsReflectedMessage
(
message
))
{
ERR
(
"unknown msg %04x wp=%04lx lp=%08lx
\n
"
,
message
,
wParam
,
lParam
);
...
...
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