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
c95959dc
Commit
c95959dc
authored
Sep 06, 2004
by
Kevin Koltzau
Committed by
Alexandre Julliard
Sep 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug with chained messages.
parent
3f6c0887
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
comctl32.h
dlls/comctl32/comctl32.h
+1
-1
commctrl.c
dlls/comctl32/commctrl.c
+5
-6
No files found.
dlls/comctl32/comctl32.h
View file @
c95959dc
...
...
@@ -158,7 +158,7 @@ typedef struct
SUBCLASSPROCS
*
SubclassProcs
;
SUBCLASSPROCS
*
stackpos
;
WNDPROC
origproc
;
BOOL
running
;
int
running
;
}
SUBCLASS_INFO
,
*
LPSUBCLASS_INFO
;
/* undocumented functions */
...
...
dlls/comctl32/commctrl.c
View file @
c95959dc
...
...
@@ -1288,9 +1288,9 @@ LRESULT WINAPI COMCTL32_SubclassProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
/* Save our old stackpos to properly handle nested messages */
proc
=
stack
->
stackpos
;
stack
->
stackpos
=
stack
->
SubclassProcs
;
stack
->
running
=
TRUE
;
stack
->
running
++
;
ret
=
DefSubclassProc
(
hWnd
,
uMsg
,
wParam
,
lParam
);
stack
->
running
=
FALSE
;
stack
->
running
--
;
stack
->
stackpos
=
proc
;
if
(
!
stack
->
SubclassProcs
)
{
...
...
@@ -1344,12 +1344,11 @@ LRESULT WINAPI DefSubclassProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
else
ret
=
CallWindowProcA
(
stack
->
origproc
,
hWnd
,
uMsg
,
wParam
,
lParam
);
}
else
{
SUBCLASSPROCS
proc
;
memcpy
(
&
proc
,
stack
->
stackpos
,
sizeof
(
proc
));
LPSUBCLASSPROCS
proc
=
stack
->
stackpos
;
stack
->
stackpos
=
stack
->
stackpos
->
next
;
/* call the Subclass procedure from the stack */
ret
=
proc
.
subproc
(
hWnd
,
uMsg
,
wParam
,
lParam
,
proc
.
id
,
proc
.
ref
);
ret
=
proc
->
subproc
(
hWnd
,
uMsg
,
wParam
,
lParam
,
proc
->
id
,
proc
->
ref
);
}
return
ret
;
...
...
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