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
891d4d22
Commit
891d4d22
authored
Oct 23, 1999
by
Pierre Mageau
Committed by
Alexandre Julliard
Oct 23, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed loop with WM_SYSCHAR.
parent
0c1dea08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
menu.c
controls/menu.c
+1
-1
mdi.c
windows/mdi.c
+0
-4
No files found.
controls/menu.c
View file @
891d4d22
...
...
@@ -2861,7 +2861,7 @@ void MENU_TrackKbdMenuBar( WND* wndPtr, UINT wParam, INT vkey)
/* find window that has a menu */
while
(
wndPtr
->
dwStyle
&
WS_CHILD
&&
!
(
wndPtr
->
dwStyle
&
WS_SYSMENU
)
)
while
(
wndPtr
->
dwStyle
&
WS_CHILD
)
if
(
!
(
wndPtr
=
wndPtr
->
parent
)
)
return
;
/* check if we have to track a system menu */
...
...
windows/mdi.c
View file @
891d4d22
...
...
@@ -1611,8 +1611,6 @@ LRESULT WINAPI DefMDIChildProc16( HWND16 hwnd, UINT16 message,
case
WM_MENUCHAR
:
/* MDI children don't have menu bars */
PostMessage16
(
clientWnd
->
parent
->
hwndSelf
,
WM_SYSCOMMAND
,
(
WPARAM16
)
SC_KEYMENU
,
(
LPARAM
)
wParam
);
retvalue
=
0x00010000L
;
goto
END
;
...
...
@@ -1689,8 +1687,6 @@ LRESULT WINAPI DefMDIChildProcA( HWND hwnd, UINT message,
case
WM_MENUCHAR
:
/* MDI children don't have menu bars */
PostMessage16
(
clientWnd
->
parent
->
hwndSelf
,
WM_SYSCOMMAND
,
(
WPARAM16
)
SC_KEYMENU
,
(
LPARAM
)
LOWORD
(
wParam
)
);
retvalue
=
0x00010000L
;
goto
END
;
...
...
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